mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
Start not using LABEL_VALUE_ for querying settings groups
This commit is contained in:
parent
ee90fa3015
commit
8e9adba956
@ -3754,7 +3754,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
char lbl[PATH_MAX_LENGTH] = {0};
|
||||
unsigned val = atoi(info->path);
|
||||
snprintf(lbl, sizeof(lbl),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_USER_BINDS), val);
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_USER_1_BINDS + (val-1)));
|
||||
ret = menu_displaylist_parse_settings(menu, info,
|
||||
lbl, PARSE_NONE, true);
|
||||
info->need_refresh = true;
|
||||
|
@ -3709,7 +3709,7 @@ static bool setting_append_list_input_player_options(
|
||||
snprintf(buffer[user], sizeof(buffer[user]),
|
||||
"%s %u", menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_USER), user + 1);
|
||||
snprintf(group_lbl[user], sizeof(group_lbl[user]),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_USER_BINDS), user + 1);
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_INPUT_USER_1_BINDS + user));
|
||||
|
||||
START_GROUP(list, list_info, &group_info, group_lbl[user], parent_group);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user