summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-01-17 19:42:57 +0100
committerGitHub <noreply@github.com>2022-01-17 19:42:57 +0100
commit345bcd4cdffb495429ec8056c41029eacbcf6289 (patch)
treea787a0905af9db563bf6a05f3883bef4542d85b5 /src
parentMerge pull request #7719 from gidoly/patch-6 (diff)
parentCorrect assignment source for rotations (diff)
downloadyuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.tar
yuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.tar.gz
yuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.tar.bz2
yuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.tar.lz
yuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.tar.xz
yuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.tar.zst
yuzu-345bcd4cdffb495429ec8056c41029eacbcf6289.zip
Diffstat (limited to 'src')
-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();