1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-22 21:40:40 +00:00

Only show the 'Information' option for a Playlist entry if the 6th line of the .lpl playlist points to an existing file

This commit is contained in:
Ryunam 2016-12-31 01:11:29 +01:00 committed by GitHub
parent ee6cbd0bbf
commit c55ed91c46

@ -2813,6 +2813,7 @@ static int menu_displaylist_parse_horizontal_content_actions(
strlcat(db_path, file_path_str(FILE_PATH_RDB_EXTENSION),
sizeof(db_path));
if (path_file_exists(db_path))
menu_entries_append_enum(info->list, label,
db_path,
MENU_ENUM_LABEL_INFORMATION, FILE_TYPE_RDB_ENTRY, 0, idx);