mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Refactor action_ok_push_history_list
This commit is contained in:
parent
264cfb553c
commit
9f9978c0a2
@ -794,8 +794,10 @@ int menu_parse_and_resolve(file_list_t *list, file_list_t *menu_list)
|
|||||||
#if 0
|
#if 0
|
||||||
RARCH_LOG("label: %s\n", label);
|
RARCH_LOG("label: %s\n", label);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!strcmp(label, "deferred_core_list"))
|
if (
|
||||||
|
!strcmp(label, "history_list") ||
|
||||||
|
!strcmp(label, "deferred_core_list"))
|
||||||
return menu_entries_push_list(driver.menu, list, path, label, type);
|
return menu_entries_push_list(driver.menu, list, path, label, type);
|
||||||
|
|
||||||
if (menu_parse_check(label, type) == -1)
|
if (menu_parse_check(label, type) == -1)
|
||||||
|
@ -62,8 +62,6 @@ static int action_ok_push_history_list(const char *path,
|
|||||||
|
|
||||||
menu_entries_push(driver.menu->menu_stack,
|
menu_entries_push(driver.menu->menu_stack,
|
||||||
"", label, type, driver.menu->selection_ptr);
|
"", label, type, driver.menu->selection_ptr);
|
||||||
menu_entries_push_list(driver.menu, driver.menu->selection_buf,
|
|
||||||
path, label, type);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user