diff --git a/Core/System.cpp b/Core/System.cpp index 9c5d4701d5..0b4357ebe5 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -375,6 +375,11 @@ bool PSP_IsInited() { } void PSP_Shutdown() { + // Do nothing if we never inited. + if (!pspIsInited && !pspIsIniting) { + return; + } + #ifndef MOBILE_DEVICE if (g_Config.bFuncHashMap) { MIPSAnalyst::StoreHashMap();