Prevent over scheduling audio events and terminate properly the motion update event

This commit is contained in:
german
2021-02-02 09:59:59 -06:00
parent 2489547dc5
commit 7784b1da6d
2 changed files with 9 additions and 1 deletions

View File

@ -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) {