mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Use menu_hash_to_str some more
This commit is contained in:
parent
9776fc6a05
commit
1fac29b651
@ -23,6 +23,10 @@ const char *menu_hash_to_str(uint32_t hash)
|
||||
{
|
||||
switch (hash)
|
||||
{
|
||||
case MENU_LABEL_CUSTOM_BIND:
|
||||
return "custom_bind";
|
||||
case MENU_LABEL_CUSTOM_BIND_ALL:
|
||||
return "custom_bind_all";
|
||||
case MENU_LABEL_VALUE_DISK_OPTIONS:
|
||||
return "Core Disk Options";
|
||||
case MENU_LABEL_VALUE_CORE_OPTIONS:
|
||||
|
@ -422,7 +422,8 @@ static int menu_input_set_bind_mode_common(rarch_setting_t *setting,
|
||||
info.list = menu_list->menu_stack;
|
||||
info.type = MENU_SETTINGS_CUSTOM_BIND_KEYBOARD;
|
||||
info.directory_ptr = nav->selection_ptr;
|
||||
strlcpy(info.label, "custom_bind", sizeof(info.label));
|
||||
strlcpy(info.label,
|
||||
menu_hash_to_str(MENU_LABEL_CUSTOM_BIND), sizeof(info.label));
|
||||
|
||||
menu_displaylist_push_list(&info, DISPLAYLIST_INFO);
|
||||
break;
|
||||
@ -435,7 +436,9 @@ static int menu_input_set_bind_mode_common(rarch_setting_t *setting,
|
||||
info.list = menu_list->menu_stack;
|
||||
info.type = MENU_SETTINGS_CUSTOM_BIND_KEYBOARD;
|
||||
info.directory_ptr = nav->selection_ptr;
|
||||
strlcpy(info.label, "custom_bind_all", sizeof(info.label));
|
||||
strlcpy(info.label,
|
||||
menu_hash_to_str(MENU_LABEL_CUSTOM_BIND_ALL),
|
||||
sizeof(info.label));
|
||||
|
||||
menu_displaylist_push_list(&info, DISPLAYLIST_INFO);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user