Fix logic inversion issue

This commit is contained in:
Matt Nadareski
2026-03-06 13:49:15 -05:00
parent d150bde546
commit 3f23df868f

View File

@@ -97,7 +97,7 @@ namespace SabreTools.Serialization.Readers
{
// Cache data until NES 2.0 flag determined
byte[] identificationString = data.ReadBytes(4);
if (identificationString.EqualsExactly(SignatureBytes))
if (!identificationString.EqualsExactly(SignatureBytes))
return null;
byte prgRomSize = data.ReadByteValue();