From 7784b1da6dcd37027c82e1b980b1e79645f18176 Mon Sep 17 00:00:00 2001 From: german Date: Tue, 2 Feb 2021 09:59:59 -0600 Subject: Prevent over scheduling audio events and terminate properly the motion update event --- src/core/hle/service/hid/hid.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/hle/service/hid/hid.cpp') 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) { -- cgit v1.2.3