mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
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)
|
||||
{
|
||||
score += 3;
|
||||
#if 0
|
||||
RARCH_LOG("Autodetect: VID/PID match score=%d\n", score);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Check for name match */
|
||||
if (string_is_equal(ident, params->name))
|
||||
{
|
||||
score += 2;
|
||||
#if 0
|
||||
RARCH_LOG("Autodetect: exact name match score=%d\n", score);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -120,15 +114,8 @@ static int input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
||||
&& !strncmp(params->name, ident, strlen(ident)))
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user