mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
Merge pull request #1650 from chris062689/master
Autoconfigure - Change equals to starts with ident
This commit is contained in:
commit
6c4582393c
@ -89,8 +89,8 @@ static bool input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
||||
ret = true;
|
||||
}
|
||||
|
||||
|
||||
if (!strcmp(ident, params->name))
|
||||
/* Check for name match - name starts with ident */
|
||||
if (!strncmp(params->name, ident, strlen(ident)))
|
||||
{
|
||||
BIT32_SET(*match, AUTODETECT_MATCH_IDENT);
|
||||
ret = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user