mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Skip content_history entry if playlist dir is set in a directory
where content_history.lpl is located
This commit is contained in:
parent
23b98bf689
commit
110cbc795a
@ -1681,6 +1681,15 @@ static int menu_displaylist_parse_horizontal_list(menu_displaylist_info_t *info)
|
||||
strlcpy(lpl_basename, item->path, sizeof(lpl_basename));
|
||||
path_remove_extension(lpl_basename);
|
||||
|
||||
if (!strcmp(lpl_basename, "content_history"))
|
||||
{
|
||||
menu_list_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE),
|
||||
menu_hash_to_str(MENU_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE),
|
||||
0, 0, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (menu->playlist)
|
||||
content_playlist_free(menu->playlist);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user