summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2021-02-02 16:59:59 +0100
committergerman <german@thesoftwareartisans.com>2021-02-02 17:17:10 +0100
commit7784b1da6dcd37027c82e1b980b1e79645f18176 (patch)
tree32ce50cc1db92fff2d79b3edd5dbb85c622f4066 /src/core
parentOnly update motion for npad and prevent over scheduling events (diff)
downloadyuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.tar
yuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.tar.gz
yuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.tar.bz2
yuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.tar.lz
yuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.tar.xz
yuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.tar.zst
yuzu-7784b1da6dcd37027c82e1b980b1e79645f18176.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/hid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 60e63626d..d86711fea 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -104,6 +104,7 @@ void IAppletResource::DeactivateController(HidController controller) {
IAppletResource ::~IAppletResource() {
system.CoreTiming().UnscheduleEvent(pad_update_event, 0);
+ system.CoreTiming().UnscheduleEvent(motion_update_event, 0);
}
void IAppletResource::GetSharedMemoryHandle(Kernel::HLERequestContext& ctx) {