Use DISPLAYLIST_SETTING_ENUM

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

View File

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