mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Hide 'Add Content' list in MaterialUI, and move it to 'Playlists' tab
This commit is contained in:
parent
4efedd2478
commit
57981b2714
@ -1687,9 +1687,6 @@ static int mui_list_push(void *data, void *userdata,
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
}
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_START_VIDEO_PROCESSOR;
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
|
||||
#ifndef HAVE_DYNAMIC
|
||||
if (frontend_driver_has_fork())
|
||||
#endif
|
||||
@ -1705,10 +1702,6 @@ static int mui_list_push(void *data, void *userdata,
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
|
||||
#if defined(HAVE_NETWORKING)
|
||||
#if defined(HAVE_LIBRETRODB)
|
||||
entry.enum_idx = MENU_ENUM_LABEL_ADD_CONTENT_LIST;
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
#endif
|
||||
entry.enum_idx = MENU_ENUM_LABEL_ONLINE_UPDATER;
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
|
||||
@ -1730,6 +1723,9 @@ static int mui_list_push(void *data, void *userdata,
|
||||
entry.enum_idx = MENU_ENUM_LABEL_SAVE_NEW_CONFIG;
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_START_VIDEO_PROCESSOR;
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_START_NET_RETROPAD;
|
||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||
|
||||
|
@ -3210,11 +3210,18 @@ static int menu_displaylist_parse_playlists(
|
||||
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (!horizontal)
|
||||
{
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_DIRECTORY),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_DIRECTORY),
|
||||
MENU_ENUM_LABEL_SCAN_DIRECTORY,
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_FILE),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE),
|
||||
MENU_ENUM_LABEL_SCAN_FILE,
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (list_size == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user