mirror of
https://github.com/libretro/RetroArch
synced 2025-02-24 00:39:54 +00:00
(Menu) Use the alternative quickmenu for the history list. Step 1.
This commit is contained in:
parent
746b7dde73
commit
339082c153
@ -957,9 +957,12 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_history)
|
if (!path)
|
||||||
menu_entries_push(info->list, fill_buf, path_playlist,
|
menu_entries_push(info->list, fill_buf, path_playlist,
|
||||||
MENU_FILE_PLAYLIST_ENTRY, 0, i);
|
MENU_FILE_PLAYLIST_ENTRY, 0, i);
|
||||||
|
else if (is_history)
|
||||||
|
menu_entries_push(info->list, fill_buf,
|
||||||
|
path, MENU_FILE_RPL_ENTRY, 0, i);
|
||||||
else
|
else
|
||||||
menu_entries_push(info->list, label,
|
menu_entries_push(info->list, label,
|
||||||
path, MENU_FILE_RPL_ENTRY, 0, i);
|
path, MENU_FILE_RPL_ENTRY, 0, i);
|
||||||
@ -2947,6 +2950,11 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
|||||||
|
|
||||||
ret = menu_displaylist_parse_playlist(info, playlist, path_playlist, true);
|
ret = menu_displaylist_parse_playlist(info, playlist, path_playlist, true);
|
||||||
|
|
||||||
|
strlcpy(menu->db_playlist_file, settings->content_history_path,
|
||||||
|
sizeof(menu->db_playlist_file));
|
||||||
|
menu->playlist = content_playlist_init(menu->db_playlist_file,
|
||||||
|
COLLECTION_SIZE);
|
||||||
|
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
{
|
{
|
||||||
info->need_refresh = true;
|
info->need_refresh = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user