mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
UI: Prevent self-powerdown check on load new game.
Sometimes, when loading a new game or dump while an existing one is running, we'd detect the "powerdown" and force back to the menu. This was a race condition.
This commit is contained in:
1 parent
b462946e7c
commit
97b9518929
1 file changed
+2
@@ -420,6 +420,8 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
PSP_Shutdown();
|
||||
bootPending_ = true;
|
||||
gamePath_ = value;
|
||||
// Don't leave it on CORE_POWERDOWN, we'll sometimes aggressively bail.
|
||||
Core_UpdateState(CORE_POWERUP);
|
||||
}
|
||||
} else if (!strcmp(message, "config_loaded")) {
|
||||
// In case we need to position touch controls differently.
|
||||
|
||||
Reference in new issue
Block a user