From b462946e7c96c700a6e5161059191f086b82db1c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 7 Jan 2021 23:14:54 -0800 Subject: [PATCH] Core: Properly stop on abrupt shutdown. When dragging a game/dump/etc. into PPSSPP while running, we call shutdown immediately. This wasn't properly notifying Stop handlers. Fixes #13884. --- Core/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/System.cpp b/Core/System.cpp index 2be0a5f9f0..16ae2808de 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -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) {