Never do RETURN() after blocking (Wait etc), as it will zero out a register in the wrong thread.

This commit is contained in:
Henrik Rydgard committed 2012-11-07 16:05:39 +01:00
1 parent aea0580297
commit 1391d83afd
6 files changed
+16 -12

No files matched your search

+2 -2
View File
@@ -1089,8 +1089,8 @@ void sceKernelDelayThreadCB()
SceUID curThread = __KernelGetCurThread();
__KernelScheduleWakeup(curThread, usec);
__KernelWaitCurThread(WAITTYPE_DELAY, curThread, 0, 0, true);
__KernelCheckCallbacks();
__KernelExecutePendingMipsCalls();
if (__KernelCheckCallbacks())
__KernelExecutePendingMipsCalls();
}
void sceKernelDelayThread()