mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Go through wrapper functions
This commit is contained in:
parent
6ace8ce66a
commit
acf3b22fd3
@ -648,7 +648,7 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
|
||||
if (input_is_autoconfigured(controller))
|
||||
{
|
||||
snprintf(tmp, sizeof(tmp), "Port #%d device name: %s (#%d)",
|
||||
controller, settings->input.device_names[controller],
|
||||
controller, input_config_get_device_name(controller),
|
||||
settings->input.device_name_index[controller]);
|
||||
menu_entries_append_enum(info->list, tmp, "",
|
||||
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY,
|
||||
|
@ -73,7 +73,7 @@ static void input_autoconfigure_joypad_reindex_devices(autoconfig_params_t *para
|
||||
|
||||
for(j = 0; j < params->max_users; j++)
|
||||
{
|
||||
if(string_is_equal(tmp, settings->input.device_names[j])
|
||||
if(string_is_equal(tmp, input_config_get_device_name(j))
|
||||
&& settings->input.device_name_index[i] == 0)
|
||||
{
|
||||
configuration_set_uint(settings, settings->input.device_name_index[j], k);
|
||||
|
Loading…
Reference in New Issue
Block a user