VERY experimental Nintendo Switch 2 emulator
C++
Correct assignment source for rotations
Valeri347574b398ac
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cppindex 08f8af551f..eef0ff4937 100644--- a/src/core/hid/emulated_console.cpp+++ b/src/core/hid/emulated_console.cpp@@ -158,7 +158,7 @@ void EmulatedConsole::SetMotion(const Common::Input::CallbackStatus& callback) {auto& motion = console.motion_state;motion.accel = emulated.GetAcceleration();motion.gyro = emulated.GetGyroscope();- motion.rotation = emulated.GetGyroscope();+ motion.rotation = emulated.GetRotations();motion.orientation = emulated.GetOrientation();motion.quaternion = emulated.GetQuaternion();motion.gyro_bias = emulated.GetGyroBias();