Should hopefully fix scanning of PS1 games
This commit is contained in:
parent
803ae53372
commit
6c81007eb9
|
@ -356,9 +356,7 @@ int detect_system(const char *track_path, const char **system_name)
|
||||||
goto clean;
|
goto clean;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string_is_empty(MAGIC_NUMBERS[i].magic) &&
|
if (string_is_equal_fast(MAGIC_NUMBERS[i].magic, magic, MAGIC_LEN))
|
||||||
!string_is_empty(magic) &&
|
|
||||||
string_is_equal_fast(MAGIC_NUMBERS[i].magic, magic, MAGIC_LEN))
|
|
||||||
{
|
{
|
||||||
*system_name = MAGIC_NUMBERS[i].system_name;
|
*system_name = MAGIC_NUMBERS[i].system_name;
|
||||||
rv = 0;
|
rv = 0;
|
||||||
|
|
Loading…
Reference in New Issue