From 3e8715c3f3964ece87d7420c9774e462e48f52bd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 2 Aug 2014 19:00:34 +0200 Subject: [PATCH] Cleanup main_entry_iterate_load_content --- frontend/frontend.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/frontend.c b/frontend/frontend.c index c6dd5790bf..d3884f7860 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -115,16 +115,9 @@ static int main_entry_iterate_content(args_type() args) static int main_entry_iterate_load_content(args_type() args) { + // If ROM load fails, we go back to menu. if (!load_menu_content()) - { -#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE) - // If ROM load fails, we go back to menu. g_extern.lifecycle_state = (1ULL << MODE_MENU_PREINIT); -#else - // If ROM load fails, we exit RetroArch. - g_extern.system.shutdown = true; -#endif - } g_extern.lifecycle_state &= ~(1ULL << MODE_LOAD_GAME);