Remove if 0 blocks
This commit is contained in:
parent
429165e966
commit
88eea511db
|
@ -101,18 +101,12 @@ static int input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
||||||
&& input_pid != 0)
|
&& input_pid != 0)
|
||||||
{
|
{
|
||||||
score += 3;
|
score += 3;
|
||||||
#if 0
|
|
||||||
RARCH_LOG("Autodetect: VID/PID match score=%d\n", score);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check for name match */
|
/* Check for name match */
|
||||||
if (string_is_equal(ident, params->name))
|
if (string_is_equal(ident, params->name))
|
||||||
{
|
{
|
||||||
score += 2;
|
score += 2;
|
||||||
#if 0
|
|
||||||
RARCH_LOG("Autodetect: exact name match score=%d\n", score);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -120,15 +114,8 @@ static int input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
||||||
&& !strncmp(params->name, ident, strlen(ident)))
|
&& !strncmp(params->name, ident, strlen(ident)))
|
||||||
{
|
{
|
||||||
score += 1;
|
score += 1;
|
||||||
#if 0
|
|
||||||
RARCH_LOG("Autodetect: partial name match score=%d\n", score);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
RARCH_LOG("Autodetect: configuration file: %s score: %d\n",
|
|
||||||
conf->path, score);
|
|
||||||
#endif
|
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue