From b5d8601f9821234eede87af438185ee6ea55bb67 Mon Sep 17 00:00:00 2001 From: Siddharth Date: Wed, 30 Oct 2013 23:22:46 +0530 Subject: [PATCH] cleanup --- UI/EmuScreen.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 2e21f212f3..e81a6a4696 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -142,13 +142,6 @@ void EmuScreen::dialogFinished(const Screen *dialog, DialogResult result) { if (result == DR_OK) { screenManager()->switchScreen(new MainScreen()); } - - //user didn't click continue. he went back to the main screen and is loading - //the game from there. - /* - if (result != DR_CANCEL && result != DR_BACK){ - autoLoad(); - }*/ RecreateViews(); } @@ -636,7 +629,7 @@ void EmuScreen::deviceLost() { void EmuScreen::autoLoad(){ //check if save state has save, if so, load int lastSlot = SaveState::GetNewestSlot(); - if (g_Config.bEnableAutoLoad && lastSlot != -1){ + if (g_Config.bEnableAutoLoad && lastSlot != -1) { SaveState::LoadSlot(lastSlot, 0, 0); } };