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.
This commit is contained in:
Unknown W. Brackets 2021-01-07 23:14:54 -08:00
parent 57fda69e50
commit b462946e7c

View file

@ -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) {