mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Cleanups
This commit is contained in:
parent
a2438c67a6
commit
0a1775feb2
@ -7263,8 +7263,8 @@ static bool setting_append_list_input_player_options(
|
|||||||
static char buffer[MAX_USERS][13+2+1];
|
static char buffer[MAX_USERS][13+2+1];
|
||||||
static char group_lbl[MAX_USERS][255];
|
static char group_lbl[MAX_USERS][255];
|
||||||
unsigned i;
|
unsigned i;
|
||||||
rarch_setting_group_info_t group_info = {0};
|
rarch_setting_group_info_t group_info;
|
||||||
rarch_setting_group_info_t subgroup_info = {0};
|
rarch_setting_group_info_t subgroup_info;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
rarch_system_info_t *system = runloop_get_system_info();
|
rarch_system_info_t *system = runloop_get_system_info();
|
||||||
const struct retro_keybind* const defaults =
|
const struct retro_keybind* const defaults =
|
||||||
@ -7272,6 +7272,9 @@ static bool setting_append_list_input_player_options(
|
|||||||
const char *temp_value = msg_hash_to_str
|
const char *temp_value = msg_hash_to_str
|
||||||
((enum msg_hash_enums)(MENU_ENUM_LABEL_INPUT_USER_1_BINDS + user));
|
((enum msg_hash_enums)(MENU_ENUM_LABEL_INPUT_USER_1_BINDS + user));
|
||||||
|
|
||||||
|
group_info.name = NULL;
|
||||||
|
subgroup_info.name = NULL;
|
||||||
|
|
||||||
strlcat(buffer[user], "", sizeof(buffer[user]));
|
strlcat(buffer[user], "", sizeof(buffer[user]));
|
||||||
|
|
||||||
strlcpy(group_lbl[user], temp_value, sizeof(group_lbl[user]));
|
strlcpy(group_lbl[user], temp_value, sizeof(group_lbl[user]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user