mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-02 17:53:40 +00:00
(task_autodetect.c) Too much verbose spam
This commit is contained in:
parent
39a1ebacc3
commit
d09e0f7da2
@ -194,17 +194,19 @@ static int input_autoconfigure_joypad_try_from_conf(config_file_t *conf,
|
|||||||
if (!string_is_empty(params->name)
|
if (!string_is_empty(params->name)
|
||||||
&& !string_is_empty(ident)
|
&& !string_is_empty(ident)
|
||||||
&& string_is_equal(ident, params->name))
|
&& string_is_equal(ident, params->name))
|
||||||
{
|
|
||||||
score += 2;
|
score += 2;
|
||||||
} else {
|
#if 0
|
||||||
if(string_is_empty(params->name))
|
else
|
||||||
RARCH_LOG("[autoconf]: failed match because params->name was empty\n");
|
{
|
||||||
else if(string_is_empty(ident))
|
if(string_is_empty(params->name))
|
||||||
RARCH_LOG("[autoconf]: failed match because ident was empty\n");
|
RARCH_LOG("[autoconf]: failed match because params->name was empty\n");
|
||||||
else
|
else if(string_is_empty(ident))
|
||||||
RARCH_LOG("[autoconf]: failed match because ident '%s' != param->name '%s'\n",
|
RARCH_LOG("[autoconf]: failed match because ident was empty\n");
|
||||||
ident, params->name);
|
else
|
||||||
|
RARCH_LOG("[autoconf]: failed match because ident '%s' != param->name '%s'\n",
|
||||||
|
ident, params->name);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
@ -284,9 +286,8 @@ static int input_autoconfigure_joypad_from_conf(
|
|||||||
int ret = input_autoconfigure_joypad_try_from_conf(conf,
|
int ret = input_autoconfigure_joypad_try_from_conf(conf,
|
||||||
params);
|
params);
|
||||||
|
|
||||||
if (ret) {
|
if (ret)
|
||||||
input_autoconfigure_joypad_add(conf, params, task);
|
input_autoconfigure_joypad_add(conf, params, task);
|
||||||
}
|
|
||||||
|
|
||||||
config_file_free(conf);
|
config_file_free(conf);
|
||||||
|
|
||||||
@ -323,7 +324,8 @@ static bool input_autoconfigure_joypad_from_conf_dir(
|
|||||||
DIR_LIST_AUTOCONFIG, "cfg");
|
DIR_LIST_AUTOCONFIG, "cfg");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!list) {
|
if(!list)
|
||||||
|
{
|
||||||
RARCH_LOG("[autoconf]: No profiles found.\n");
|
RARCH_LOG("[autoconf]: No profiles found.\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user