Allow GCF checksum header to have dummy0 value of 0 (fixes #69)

This commit is contained in:
Matt Nadareski
2026-03-19 16:18:24 -04:00
parent ca78898e93
commit ae6608e2a7

View File

@@ -253,7 +253,7 @@ namespace SabreTools.Serialization.Readers
// Try to parse the checksum header
var checksumHeader = ParseChecksumHeader(data);
if (checksumHeader?.Dummy0 != 0x00000001)
if (checksumHeader?.Dummy0 != 0x00000000 && checksumHeader?.Dummy0 != 0x00000001)
return null;
// Set the game cache checksum header