mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Merge pull request #13889 from unknownbrackets/ui-reset
Core: Properly stop on abrupt shutdown
This commit is contained in:
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -493,7 +493,7 @@ void PSP_Shutdown() {
|
||||
// Make sure things know right away that PSP memory, etc. is going away.
|
||||
pspIsQuitting = true;
|
||||
if (coreState == CORE_RUNNING)
|
||||
Core_UpdateState(CORE_POWERDOWN);
|
||||
Core_Stop();
|
||||
|
||||
#ifndef MOBILE_DEVICE
|
||||
if (g_Config.bFuncHashMap) {
|
||||
|
||||
@@ -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