mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(RGUI) Add optional 'Collections' entry to main menu
This commit is contained in:
parent
c808c80e4a
commit
b34aa0eeca
@ -7545,6 +7545,16 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, menu_displaylist
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_LOAD_CONTENT_HISTORY,
|
||||
PARSE_ACTION, false);
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (string_is_equal(settings->arrays.menu_driver, "rgui") && settings->bools.menu_content_show_playlists)
|
||||
{
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CONTENT_COLLECTION_LIST),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST),
|
||||
MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST,
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
}
|
||||
#endif
|
||||
if (settings->bools.menu_content_show_add)
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_ADD_CONTENT_LIST,
|
||||
|
Loading…
x
Reference in New Issue
Block a user