fix display name for builtin autoconfs again

This commit is contained in:
radius 2018-01-16 22:18:28 -05:00
parent ac18a75311
commit d1dba26565

View File

@ -278,7 +278,7 @@ static void input_autoconfigure_joypad_add(config_file_t *conf,
if (!string_is_empty(display_name))
input_config_set_device_display_name(params->idx, display_name);
else
input_config_set_device_display_name(params->idx, "N/A");
input_config_set_device_display_name(params->idx, params->name);
if (!string_is_empty(conf->path))
input_config_set_device_config_name(params->idx, path_basename(conf->path));
else