mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-21 00:05:30 +00:00
Add MENU_ENUM_LABEL_MAIN_MENU
This commit is contained in:
parent
707c56dab3
commit
2acb04649e
@ -401,8 +401,10 @@ bool generic_menu_init_list(void *data)
|
||||
strlcpy(info.label,
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MAIN_MENU), sizeof(info.label));
|
||||
|
||||
menu_entries_add(menu_stack, info.path,
|
||||
info.label, info.type, info.flags, 0);
|
||||
menu_entries_add_enum(menu_stack, info.path,
|
||||
info.label,
|
||||
MENU_ENUM_LABEL_MAIN_MENU,
|
||||
info.type, info.flags, 0);
|
||||
|
||||
info.list = selection_buf;
|
||||
|
||||
|
@ -3197,7 +3197,7 @@ static bool xmb_menu_init_list(void *data)
|
||||
|
||||
menu_entries_add_enum(menu_stack, info.path,
|
||||
info.label,
|
||||
MENU_ENUM_LABEL_VALUE_MAIN_MENU,
|
||||
MENU_ENUM_LABEL_MAIN_MENU,
|
||||
info.type, info.flags, 0);
|
||||
|
||||
info.list = selection_buf;
|
||||
|
@ -26,6 +26,8 @@ static const char *menu_hash_to_str_us_label_enum(enum menu_hash_enums msg)
|
||||
{
|
||||
switch (msg)
|
||||
{
|
||||
case MENU_ENUM_LABEL_MAIN_MENU:
|
||||
return "main_menu";
|
||||
case MENU_ENUM_LABEL_MENU_LINEAR_FILTER:
|
||||
return "menu_linear_filter";
|
||||
case MENU_ENUM_LABEL_MENU_ENUM_THROTTLE_FRAMERATE:
|
||||
|
@ -686,6 +686,7 @@ enum menu_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_HISTORY_TAB,
|
||||
MENU_ENUM_LABEL_VALUE_ADD_TAB,
|
||||
MENU_ENUM_LABEL_VALUE_PLAYLISTS_TAB,
|
||||
MENU_ENUM_LABEL_MAIN_MENU,
|
||||
MENU_ENUM_LABEL_VALUE_MAIN_MENU,
|
||||
MENU_ENUM_LABEL_VALUE_SETTINGS,
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_SETTINGS,
|
||||
|
Loading…
x
Reference in New Issue
Block a user