summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValeri <v19930312@gmail.com>2022-01-17 08:40:41 +0100
committerGitHub <noreply@github.com>2022-01-17 08:40:41 +0100
commitc624edceba98db4fde8ba3bb30c2f3fd19e8823f (patch)
tree6f501ddc297d84453ebb1f105d6399997e9a948c
parentMerge pull request #7713 from gidoly/patch-3 (diff)
downloadyuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.tar
yuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.tar.gz
yuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.tar.bz2
yuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.tar.lz
yuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.tar.xz
yuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.tar.zst
yuzu-c624edceba98db4fde8ba3bb30c2f3fd19e8823f.zip
-rw-r--r--src/core/hid/emulated_console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp
index 08f8af551..eef0ff493 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();