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:
Unknown W. Brackets committed 2021-08-14 20:15:34 -07:00
1 parent f01d4d697e
commit f530be0969
5 files changed
+10 -6

No files matched your search

-4
View File
@@ -40,10 +40,6 @@
#include "GPU/GPUCommon.h"
#include "GPU/GPUState.h"
void __DisableInterrupts();
void __EnableInterrupts();
bool __InterruptsEnabled();
// Seems like some > 16 are taken but not available. Probably kernel only?
static const u32 PSP_NUMBER_SUBINTERRUPTS = 32;