diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index a8b04be0e3..df4606d135 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -1603,27 +1603,6 @@ static int action_ok_screenshot(const char *path, return generic_action_ok_command(EVENT_CMD_TAKE_SCREENSHOT); } -static int action_ok_file_load_or_resume(const char *path, - const char *label, unsigned type, size_t idx, size_t entry_idx) -{ - char *fullpath = NULL; - menu_handle_t *menu = menu_driver_get_ptr(); - - if (!menu) - return -1; - - runloop_ctl(RUNLOOP_CTL_GET_CONTENT_PATH, &fullpath); - - if (string_is_equal(menu->deferred_path, fullpath)) - return generic_action_ok_command(EVENT_CMD_RESUME); - - runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, menu->deferred_path); - event_cmd_ctl(EVENT_CMD_LOAD_CORE, NULL); - rarch_ctl(RARCH_CTL_LOAD_CONTENT, NULL); - - return -1; -} - static int action_ok_shader_apply_changes(const char *path, const char *label, unsigned type, size_t idx, size_t entry_idx) { @@ -2255,9 +2234,6 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs, case MENU_LABEL_TAKE_SCREENSHOT: BIND_ACTION_OK(cbs, action_ok_screenshot); break; - case MENU_LABEL_FILE_LOAD_OR_RESUME: - BIND_ACTION_OK(cbs, action_ok_file_load_or_resume); - break; case MENU_LABEL_QUIT_RETROARCH: BIND_ACTION_OK(cbs, action_ok_quit); break; diff --git a/menu/menu_hash.h b/menu/menu_hash.h index ab14c6ed67..a449c21b35 100644 --- a/menu/menu_hash.h +++ b/menu/menu_hash.h @@ -921,7 +921,6 @@ extern "C" { #define MENU_LABEL_VALUE_RESTART_CONTENT 0xf23a2e85U #define MENU_LABEL_TAKE_SCREENSHOT 0x6786e867U #define MENU_LABEL_VALUE_TAKE_SCREENSHOT 0xab767128U -#define MENU_LABEL_FILE_LOAD_OR_RESUME 0x952941f4U #define MENU_LABEL_CONFIGURATIONS 0x3e930a50U #define MENU_LABEL_VALUE_CONFIGURATIONS 0xce036cfdU #define MENU_LABEL_VALUE_CHEAT_FILE_SAVE_AS 0xf2498a2dU