(PacOpener.TryOpen): set IsPacked property.

This commit is contained in:
morkt 2015-03-18 05:43:18 +04:00
parent 222df44b09
commit fb60862b58

View File

@ -100,6 +100,7 @@ namespace GameRes.Formats.NeXAS
}; };
if (!entry.CheckPlacement (file.MaxOffset)) if (!entry.CheckPlacement (file.MaxOffset))
return null; return null;
entry.IsPacked = pack_type != 0 && entry.UnpackedSize != entry.Size;
dir.Add (entry); dir.Add (entry);
offset += 0x4c; offset += 0x4c;
} }