1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-24 18:39:59 +00:00

Use DISPLAYLIST_SETTING_ENUM

This commit is contained in:
twinaphex 2016-06-15 01:49:34 +02:00
parent ef808b6591
commit e64b5cc62f

@ -3138,38 +3138,38 @@ static int xmb_list_push(void *data, void *userdata,
if (frontend_driver_has_fork())
#endif
{
entry.info_label = menu_hash_to_str(MENU_LABEL_CORE_LIST);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_CORE_LIST;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
}
entry.info_label = menu_hash_to_str(MENU_LABEL_LOAD_CONTENT_LIST);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_LOAD_CONTENT_LIST;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
#if defined(HAVE_NETWORKING)
#if defined(HAVE_LIBRETRODB)
entry.info_label = menu_hash_to_str(MENU_LABEL_ADD_CONTENT_LIST);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_ADD_CONTENT_LIST;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
#endif
entry.info_label = menu_hash_to_str(MENU_LABEL_ONLINE_UPDATER);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_ONLINE_UPDATER;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
#endif
entry.info_label = menu_hash_to_str(MENU_LABEL_INFORMATION_LIST);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_INFORMATION_LIST;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
#ifndef HAVE_DYNAMIC
entry.info_label = menu_hash_to_str(MENU_LABEL_RESTART_RETROARCH);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_RESTART_RETROARCH;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
#endif
entry.info_label = menu_hash_to_str(MENU_LABEL_CONFIGURATIONS);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_CONFIGURATIONS;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
entry.info_label = menu_hash_to_str(MENU_LABEL_SAVE_CURRENT_CONFIG);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_SAVE_CURRENT_CONFIG;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
entry.info_label = menu_hash_to_str(MENU_LABEL_SAVE_NEW_CONFIG);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_SAVE_NEW_CONFIG;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
entry.info_label = menu_hash_to_str(MENU_LABEL_HELP_LIST);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
entry.enum_idx = MENU_ENUM_LABEL_HELP_LIST;
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
#if !defined(IOS)
entry.info_label = menu_hash_to_str(MENU_LABEL_QUIT_RETROARCH);
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);