Refactor action_ok_push_history_list

This commit is contained in:
twinaphex 2014-10-13 01:42:10 +02:00
parent 264cfb553c
commit 9f9978c0a2
2 changed files with 4 additions and 4 deletions

View File

@ -794,8 +794,10 @@ int menu_parse_and_resolve(file_list_t *list, file_list_t *menu_list)
#if 0
RARCH_LOG("label: %s\n", label);
#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);
if (menu_parse_check(label, type) == -1)

View File

@ -62,8 +62,6 @@ static int action_ok_push_history_list(const char *path,
menu_entries_push(driver.menu->menu_stack,
"", label, type, driver.menu->selection_ptr);
menu_entries_push_list(driver.menu, driver.menu->selection_buf,
path, label, type);
return 0;
}