Another size read mismatch in IRD

This commit is contained in:
Matt Nadareski
2026-03-20 22:09:07 -04:00
parent 2f8ee5545e
commit bec0aeb04c

View File

@@ -59,7 +59,7 @@ namespace SabreTools.Serialization.Readers
ird.RegionHashes[i] = data.ReadBytes(16) ?? [];
}
ird.FileCount = data.ReadByteValue();
ird.FileCount = data.ReadUInt32LittleEndian();
ird.FileKeys = new ulong[ird.FileCount];
ird.FileHashes = new byte[ird.FileCount][];
for (int i = 0; i < ird.FileCount; i++)