Merge pull request #4637 from pedrib/patch-1

Fix dualshock 3 detection bug
This commit is contained in:
Andrés 2017-02-13 19:50:29 -05:00 committed by GitHub
commit a8f2f94bf6

View File

@ -124,8 +124,7 @@ static int input_autoconfigure_joypad_try_from_conf(config_file_t *conf,
score += 2;
else
{
if ( !string_is_empty(ident)
&& string_is_equal(params->name, ident))
if (strstr(params->name, ident))
score += 1;
}