mirror of
https://github.com/libretro/RetroArch
synced 2025-03-10 16:14:03 +00:00
allow user defined autoconf files to take precedence over builtin
This commit is contained in:
parent
a840a081fb
commit
b6d5449ae6
@ -305,13 +305,14 @@ bool input_config_autoconfigure_joypad(autoconfig_params_t *params)
|
|||||||
if (!*params->name)
|
if (!*params->name)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#if defined(HAVE_BUILTIN_AUTOCONFIG)
|
|
||||||
ret = input_autoconfigure_joypad_from_conf_internal(params);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
ret = input_autoconfigure_joypad_from_conf_dir(params);
|
ret = input_autoconfigure_joypad_from_conf_dir(params);
|
||||||
|
|
||||||
|
#if defined(HAVE_BUILTIN_AUTOCONFIG)
|
||||||
|
if (!ret)
|
||||||
|
ret = input_autoconfigure_joypad_from_conf_internal(params);
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user