mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01: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
@@ -122,7 +122,7 @@ void PSPDialog::ChangeStatusInit(int delayUs) {
|
||||
|
||||
void PSPDialog::ChangeStatusShutdown(int delayUs) {
|
||||
// If we're doing shutdown right away and skipped start, we don't run the dialog thread.
|
||||
bool skipDialogShutdown = status == SCE_UTILITY_STATUS_NONE;
|
||||
bool skipDialogShutdown = status == SCE_UTILITY_STATUS_NONE && pendingStatus == SCE_UTILITY_STATUS_NONE;
|
||||
ChangeStatus(SCE_UTILITY_STATUS_SHUTDOWN, 0);
|
||||
|
||||
auto params = GetCommonParam();
|
||||
|
||||
Reference in new issue
Block a user