Should hopefully fix scanning of PS1 games

This commit is contained in:
twinaphex 2017-06-07 11:12:11 +02:00
parent 803ae53372
commit 6c81007eb9

View File

@ -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;