mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 06:41:04 +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:
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),
|
strlcat(db_path, file_path_str(FILE_PATH_RDB_EXTENSION),
|
||||||
sizeof(db_path));
|
sizeof(db_path));
|
||||||
|
|
||||||
|
if (path_file_exists(db_path))
|
||||||
menu_entries_append_enum(info->list, label,
|
menu_entries_append_enum(info->list, label,
|
||||||
db_path,
|
db_path,
|
||||||
MENU_ENUM_LABEL_INFORMATION, FILE_TYPE_RDB_ENTRY, 0, idx);
|
MENU_ENUM_LABEL_INFORMATION, FILE_TYPE_RDB_ENTRY, 0, idx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user