summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2020-09-04 21:35:42 -0500
committergerman <german@thesoftwareartisans.com>2020-09-04 21:48:13 -0500
commit6ee8eab670acfed494ade355d77a32c57f7c9585 (patch)
treeca91a7ca7ac7861ae48c5456870eee425fc8c209 /src/core
parent0774b17846fc7bd12bfe329fbaed6524d96c81cb (diff)
Add cemu hook changes related to PR #4609
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 2e06372a4..510fa3071 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -397,8 +397,7 @@ void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8*
std::tie(motion_devices[e].accel, motion_devices[e].gyro,
motion_devices[e].rotation, motion_devices[e].orientation) =
device->GetStatus();
- sixaxis_at_rest =
- sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.00005f;
+ sixaxis_at_rest = sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.0001f;
}
}
}