aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2021-02-02 09:59:59 -0600
committergerman <german@thesoftwareartisans.com>2021-02-02 10:17:10 -0600
commite0c83e305abc90bbfa7d08ce9739fa11df3878df (patch)
tree32ce50cc1db92fff2d79b3edd5dbb85c622f4066 /src/core/hle/service/hid/hid.cpp
parent963ce4f5ab266b14b4f0d83f81ee998ce485bcd1 (diff)
Prevent over scheduling audio events and terminate properly the motion update event
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-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 60e63626d8..d86711feac 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) {