mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Dialog: Prevent reschedule on shutdown start.
This is a bit strange, but tests seem to suggest this is correct. A worse priority thread won't run before savedata shutdown hits 0, but the thread that initiated shutdown runs before shutdown completes. Fixes Freakout Extreme Freeride loading savedata.
This commit is contained in:
1 parent
f01d4d697e
commit
f530be0969
5 files changed
+10
-6
No files matched your search
@@ -2063,7 +2063,8 @@ int __KernelStartThread(SceUID threadToStartID, int argSize, u32 argBlockPtr, bo
|
||||
Core_ExecException(startThread->context.pc, currentMIPS->pc, ExecExceptionType::THREAD);
|
||||
}
|
||||
__KernelChangeReadyState(cur, currentThread, true);
|
||||
hleReSchedule("thread started");
|
||||
if (__InterruptsEnabled())
|
||||
hleReSchedule("thread started");
|
||||
}
|
||||
|
||||
// Starting a thread automatically resumes the dispatch thread if the new thread has worse priority.
|
||||
|
||||
Reference in new issue
Block a user