fixed ARM "undefined instruction" kernel panic when closing games
This commit is contained in:
parent
1176fa8f28
commit
53ab41e6d0
@ -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];
|
||||
|
Reference in New Issue
Block a user