fixed ARM "undefined instruction" kernel panic when closing games

This commit is contained in:
Bea 2020-07-06 23:58:53 +02:00
parent 1176fa8f28
commit 53ab41e6d0

View File

@ -118,7 +118,6 @@ void *svcHook(u8 *pageEnd)
KEvent* event = (KEvent *)KProcessHandleTable__ToKAutoObject(handleTableOfProcess(currentProcess),
KPROCESS_GET_RVALUE(currentProcess, resumeProcessExitEvent));
WaitSynchronization1(NULL, currentCoreContext->objectContext.currentThread, (KSynchronizationObject *)event, 10000000000ULL);
((KAutoObject *)event)->vtable->DecrementReferenceCount((KAutoObject *)event);
}
return officialSVCs[0x3];