mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
More cleanups
This commit is contained in:
parent
72bc5e134a
commit
cce9190cb2
@ -320,10 +320,10 @@ bool input_config_autoconfigure_joypad(autoconfig_params_t *params)
|
|||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
if (input_autoconfigure_joypad_from_conf_dir(params))
|
if (input_autoconfigure_joypad_from_conf_dir(params))
|
||||||
goto success;
|
return true;
|
||||||
#if defined(HAVE_BUILTIN_AUTOCONFIG)
|
#if defined(HAVE_BUILTIN_AUTOCONFIG)
|
||||||
if (input_autoconfigure_joypad_from_conf_internal(params))
|
if (input_autoconfigure_joypad_from_conf_internal(params))
|
||||||
goto success;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RARCH_LOG("Autodetect: no profiles found for %s (%d/%d)\n",
|
RARCH_LOG("Autodetect: no profiles found for %s (%d/%d)\n",
|
||||||
@ -334,9 +334,6 @@ bool input_config_autoconfigure_joypad(autoconfig_params_t *params)
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
success:
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct retro_keybind *input_get_auto_bind(unsigned port, unsigned id)
|
const struct retro_keybind *input_get_auto_bind(unsigned port, unsigned id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user