Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles.

This commit is contained in:
Henrik Rydgård committed 2020-11-23 09:09:36 +01:00
1 parent ded92e51dd
commit 5c0ab8bea3
3 files changed
+15 -6

No files matched your search

+1 -1
View File
@@ -2335,7 +2335,7 @@ void __KernelReturnFromModuleFunc()
SceUID leftModuleID = __KernelGetCurThreadModuleId();
SceUID leftThreadID = __KernelGetCurThread();
int exitStatus = sceKernelGetThreadExitStatus(leftThreadID);
int exitStatus = __KernelGetThreadExitStatus(leftThreadID);
// Reschedule immediately (to leave the thread) and delete it and its stack.
__KernelReSchedule("returned from module");