Go through wrapper functions

This commit is contained in:
twinaphex 2017-04-25 16:36:31 +02:00
parent 6ace8ce66a
commit acf3b22fd3
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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);