From b9ed33f1ade6a59071e096d03095a4874bc4c5f9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 31 Aug 2014 04:09:11 +0200 Subject: [PATCH] (Menu) cleanups --- frontend/menu/backend/menu_common_backend.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/menu/backend/menu_common_backend.c b/frontend/menu/backend/menu_common_backend.c index bffae34d9c..7ef5e09db9 100644 --- a/frontend/menu/backend/menu_common_backend.c +++ b/frontend/menu/backend/menu_common_backend.c @@ -2003,6 +2003,7 @@ static int menu_action_ok(const char *dir, unsigned menu_type) { fill_pathname_join(g_settings.libretro, dir, path, sizeof(g_settings.libretro)); rarch_main_command(RARCH_CMD_LOAD_CORE); + menu_flush_stack_type(MENU_SETTINGS); #if defined(HAVE_DYNAMIC) // No content needed for this core, load core immediately. if (driver.menu->load_no_content) @@ -2019,8 +2020,6 @@ static int menu_action_ok(const char *dir, unsigned menu_type) rarch_main_command(RARCH_CMD_RESTART_RETROARCH); return -1; #endif - - menu_flush_stack_type(MENU_SETTINGS); } else if (menu_type == MENU_SETTINGS_CONFIG) { @@ -3286,7 +3285,6 @@ static int menu_common_setting_set(unsigned id, unsigned action) rarch_main_command(RARCH_CMD_REINIT); } - break; #endif break; case MENU_SETTINGS_SHADER_PASSES: