Seems to be no longer used?

This commit is contained in:
twinaphex 2016-02-04 15:37:41 +01:00
parent 9d9c6827f5
commit 94d10f9d4b
2 changed files with 0 additions and 25 deletions

View File

@ -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;

View File

@ -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