Force rescheduling within a callback.
Seems to fix #4914. We already have a larger bug for callbacks.
This commit is contained in:
parent
f7f9b3b8f7
commit
21cdcb5c0d
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue