mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-19 19:01:35 +00:00
Update - start using menu_hash_to_str
This commit is contained in:
parent
995159dd32
commit
eda2e24d0e
@ -2014,7 +2014,7 @@ static void xmb_list_cache(menu_list_type_t type, unsigned action)
|
||||
if (menu->categories.selection_ptr == 0)
|
||||
{
|
||||
menu_list->menu_stack->list[stack_size - 1].label =
|
||||
strdup("Main Menu");
|
||||
strdup(menu_hash_to_str(MENU_VALUE_MAIN_MENU));
|
||||
menu_list->menu_stack->list[stack_size - 1].type =
|
||||
MENU_SETTINGS;
|
||||
}
|
||||
|
@ -2191,7 +2191,7 @@ bool menu_displaylist_init(void *data)
|
||||
info.list = menu_list->selection_buf;
|
||||
info.type = MENU_SETTINGS;
|
||||
info.flags = SL_FLAG_MAIN_MENU | SL_FLAG_MAIN_MENU_SETTINGS;
|
||||
strlcpy(info.label, "Main Menu", sizeof(info.label));
|
||||
strlcpy(info.label, menu_hash_to_str(MENU_VALUE_MAIN_MENU), sizeof(info.label));
|
||||
|
||||
menu_list_push(menu_list->menu_stack,
|
||||
info.path, info.label, info.type, info.flags, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user