Fix iso magic read check

This commit is contained in:
Megamouse
2026-08-20 11:03:16 +02:00
parent 358101c47b
commit 8a6c96745a
+1 -1
View File
@@ -65,7 +65,7 @@ static bool is_iso_file(iso_file& file, u64* size = nullptr)
char magic[5];
if (!file.read_at(32768ULL + 1, magic, 5) == 5)
if (file.read_at(32768ULL + 1, magic, 5) != 5)
{
return false;
}