mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
(Menu) Menu label/hashes updates
This commit is contained in:
parent
459ec04f10
commit
c045ee6181
@ -1604,7 +1604,7 @@ static int menu_displaylist_parse_options_remappings(menu_displaylist_info_t *in
|
||||
continue;
|
||||
|
||||
snprintf(desc_label, sizeof(desc_label),
|
||||
"User %u %s : ", user, description);
|
||||
"%s %u %s : ", menu_hash_to_str(MENU_VALUE_USER), user, description);
|
||||
menu_list_push(info->list, desc_label, "",
|
||||
MENU_SETTINGS_INPUT_DESC_BEGIN +
|
||||
(p * (RARCH_FIRST_CUSTOM_BIND + 4)) + retro_id, 0, 0);
|
||||
|
@ -376,6 +376,8 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||
return "Shader";
|
||||
case MENU_VALUE_CHEAT:
|
||||
return "Cheat";
|
||||
case MENU_VALUE_USER:
|
||||
return "User";
|
||||
case MENU_LABEL_VIDEO_FONT_ENABLE:
|
||||
return "video_font_enable";
|
||||
case MENU_LABEL_VALUE_VIDEO_FONT_ENABLE:
|
||||
|
@ -21,6 +21,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define MENU_VALUE_UNKNOWN 0x9b3bb635U
|
||||
#define MENU_VALUE_USER 0x7c8da264U
|
||||
#define MENU_VALUE_CHEAT 0x0cf62beaU
|
||||
#define MENU_VALUE_SHADER 0xd10c0cfcU
|
||||
#define MENU_VALUE_DIRECTORY_CONTENT 0x89a45bd9U
|
||||
|
@ -5435,15 +5435,15 @@ static bool setting_append_list_input_options(
|
||||
"input_player%u_bind_defaults", user + 1);
|
||||
|
||||
snprintf(label[user], sizeof(label[user]),
|
||||
"User %u Device Index", user + 1);
|
||||
"%s %u Device Index", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
snprintf(label_type[user], sizeof(label_type[user]),
|
||||
"User %u Device Type", user + 1);
|
||||
"%s %u Device Type", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
snprintf(label_analog[user], sizeof(label_analog[user]),
|
||||
"User %u Analog To Digital Type", user + 1);
|
||||
"%s %u Analog To Digital Type", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
snprintf(label_bind_all[user], sizeof(label_bind_all[user]),
|
||||
"User %u Bind All", user + 1);
|
||||
"%s %u Bind All", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
snprintf(label_bind_defaults[user], sizeof(label_bind_defaults[user]),
|
||||
"User %u Bind Default All", user + 1);
|
||||
"%s %u Bind Default All", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
|
||||
CONFIG_UINT(
|
||||
settings->input.libretro_device[user],
|
||||
@ -7009,7 +7009,7 @@ static bool setting_append_list_input_player_options(
|
||||
(user == 0) ? retro_keybinds_1 : retro_keybinds_rest;
|
||||
|
||||
snprintf(buffer[user], sizeof(buffer[user]),
|
||||
"User %u", user + 1);
|
||||
"%s %u", menu_hash_to_str(MENU_VALUE_USER), user + 1);
|
||||
snprintf(group_lbl[user], sizeof(group_lbl[user]),
|
||||
"Input %s Binds", buffer[user]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user