mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(XMB) Start using DISPLAYLIST_SETTING_ENUM
This commit is contained in:
parent
e64b5cc62f
commit
5435a1ad7d
@ -3128,11 +3128,11 @@ static int xmb_list_push(void *data, void *userdata,
|
|||||||
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
|
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
entry.info_label = menu_hash_to_str(MENU_LABEL_START_CORE);
|
entry.enum_idx = MENU_ENUM_LABEL_START_CORE;
|
||||||
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
|
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||||
|
|
||||||
entry.info_label = menu_hash_to_str(MENU_LABEL_START_NET_RETROPAD);
|
entry.enum_idx = MENU_ENUM_LABEL_START_NET_RETROPAD;
|
||||||
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
|
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||||
|
|
||||||
#ifndef HAVE_DYNAMIC
|
#ifndef HAVE_DYNAMIC
|
||||||
if (frontend_driver_has_fork())
|
if (frontend_driver_has_fork())
|
||||||
@ -3171,14 +3171,14 @@ static int xmb_list_push(void *data, void *userdata,
|
|||||||
entry.enum_idx = MENU_ENUM_LABEL_HELP_LIST;
|
entry.enum_idx = MENU_ENUM_LABEL_HELP_LIST;
|
||||||
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &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.enum_idx = MENU_ENUM_LABEL_QUIT_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_SHUTDOWN);
|
entry.enum_idx = MENU_ENUM_LABEL_SHUTDOWN;
|
||||||
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
|
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||||
|
|
||||||
entry.info_label = menu_hash_to_str(MENU_LABEL_REBOOT);
|
entry.enum_idx = MENU_ENUM_LABEL_REBOOT;
|
||||||
menu_displaylist_ctl(DISPLAYLIST_SETTING, &entry);
|
menu_displaylist_ctl(DISPLAYLIST_SETTING_ENUM, &entry);
|
||||||
info->need_push = true;
|
info->need_push = true;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user