mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Force rescheduling within a callback.
Seems to fix #4914. We already have a larger bug for callbacks.
This commit is contained in:
1 parent
f7f9b3b8f7
commit
21cdcb5c0d
1 file changed
+2
@@ -2299,6 +2299,8 @@ void sceKernelExitDeleteThread(int exitStatus)
|
||||
{
|
||||
INFO_LOG(SCEKERNEL,"sceKernelExitDeleteThread(%d)", exitStatus);
|
||||
__KernelDeleteThread(currentThread, exitStatus, "thread exited with delete");
|
||||
// Temporary hack since we don't reschedule within callbacks.
|
||||
g_inCbCount = 0;
|
||||
|
||||
hleReSchedule("thread exited with delete");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user