From 75de50123ab4e866d35cf598e2c1debb4032c1df Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 14 Feb 2014 23:02:29 -0800 Subject: [PATCH] Don't need to check inited for PSP_Shutdown() now. --- UI/EmuScreen.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 0772358df4..95643f06cd 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -590,9 +590,7 @@ void EmuScreen::render() { // set back to running for the next frame coreState = CORE_RUNNING; } else if (coreState == CORE_POWERDOWN) { - if (PSP_IsInited()) { - PSP_Shutdown(); - } + PSP_Shutdown(); ILOG("SELF-POWERDOWN!"); screenManager()->switchScreen(new MainScreen()); invalid_ = true;