Merge pull request #5868 from german77/HandheldFix

Prevent over scheduling audio events and add motion update unschedule event
This commit is contained in:
bunnei 2021-02-08 11:33:53 -08:00 committed by GitHub
commit 7666c0994c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -110,6 +110,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) {