mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-24 02:05:46 +01:00
Correct assignment source for rotations
Found by static analysis with PVS-Studio
This commit is contained in:
parent
480b03b645
commit
c624edceba
@ -158,7 +158,7 @@ void EmulatedConsole::SetMotion(const Common::Input::CallbackStatus& callback) {
|
|||||||
auto& motion = console.motion_state;
|
auto& motion = console.motion_state;
|
||||||
motion.accel = emulated.GetAcceleration();
|
motion.accel = emulated.GetAcceleration();
|
||||||
motion.gyro = emulated.GetGyroscope();
|
motion.gyro = emulated.GetGyroscope();
|
||||||
motion.rotation = emulated.GetGyroscope();
|
motion.rotation = emulated.GetRotations();
|
||||||
motion.orientation = emulated.GetOrientation();
|
motion.orientation = emulated.GetOrientation();
|
||||||
motion.quaternion = emulated.GetQuaternion();
|
motion.quaternion = emulated.GetQuaternion();
|
||||||
motion.gyro_bias = emulated.GetGyroBias();
|
motion.gyro_bias = emulated.GetGyroBias();
|
||||||
|
Loading…
Reference in New Issue
Block a user