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;
|
||||
}
|
||||
|
||||
if (!string_is_empty(MAGIC_NUMBERS[i].magic) &&
|
||||
!string_is_empty(magic) &&
|
||||
string_is_equal_fast(MAGIC_NUMBERS[i].magic, magic, MAGIC_LEN))
|
||||
if (string_is_equal_fast(MAGIC_NUMBERS[i].magic, magic, MAGIC_LEN))
|
||||
{
|
||||
*system_name = MAGIC_NUMBERS[i].system_name;
|
||||
rv = 0;
|
||||
|
|
Loading…
Reference in New Issue