mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 22:14:17 +00:00
Removed MENU_ACTION_Y, small bugfix with selections in zip select
This commit is contained in:
parent
3575f353bf
commit
adfa00e193
@ -1723,12 +1723,6 @@ static int menu_load_or_open_zip_iterate(unsigned action)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int menu_action_y(const char * menu_path,
|
||||
const char * menu_label, unsigned menu_type )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int menu_action_ok(const char *menu_path,
|
||||
const char *menu_label, unsigned menu_type)
|
||||
{
|
||||
@ -1938,7 +1932,8 @@ static int menu_action_ok(const char *menu_path,
|
||||
{
|
||||
if (type == MENU_FILE_CARCHIVE && !strcmp(menu_label, "detect_core_list"))
|
||||
{
|
||||
file_list_push(driver.menu->menu_stack, "", "load_open_zip", 0, 0);
|
||||
file_list_push(driver.menu->menu_stack, path, "load_open_zip",
|
||||
0, driver.menu->selection_ptr);
|
||||
return 0;
|
||||
}
|
||||
char cat_path[PATH_MAX];
|
||||
@ -2096,10 +2091,6 @@ static int menu_common_iterate(unsigned action)
|
||||
ret = menu_action_ok(path, menu_label, menu_type);
|
||||
break;
|
||||
|
||||
|
||||
case MENU_ACTION_Y:
|
||||
return menu_action_y(path, menu_label, menu_type);
|
||||
|
||||
case MENU_ACTION_REFRESH:
|
||||
menu_clear_navigation(driver.menu);
|
||||
driver.menu->need_refresh = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user