Temporary fix for IS-CAB file group parsing

This commit is contained in:
Matt Nadareski
2024-10-03 02:51:37 -04:00
parent f86f6dc438
commit e2b7bdac8c

View File

@@ -446,10 +446,14 @@ namespace SabreTools.Serialization.Deserializers
{
var fileGroup = new FileGroup();
// Reserved0 has been determined to be invalid.
// This change needs to be made at the model level
// and then propigated up to here for proper support
fileGroup.NameOffset = data.ReadUInt32();
fileGroup.ExpandedSize = data.ReadUInt32();
fileGroup.Reserved0 = data.ReadBytes(4);
//fileGroup.Reserved0 = data.ReadBytes(4);
fileGroup.CompressedSize = data.ReadUInt32();
fileGroup.Reserved1 = data.ReadBytes(4);
fileGroup.Reserved2 = data.ReadBytes(2);