mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(TryOpen): set IsPacked property.
This commit is contained in:
parent
b38e3a0601
commit
c1bfb00249
@ -83,6 +83,7 @@ namespace GameRes.Formats.Propeller
|
||||
{
|
||||
entry.UnpackedSize = file.View.ReadUInt32 (entry.Offset);
|
||||
entry.Size = file.View.ReadUInt32 (entry.Offset+4);
|
||||
entry.IsPacked = true;
|
||||
if (entry.UnpackedSize < 0x36 || entry.Size > file.MaxOffset-entry.Offset)
|
||||
return null;
|
||||
entry.Offset += 8;
|
||||
|
Loading…
Reference in New Issue
Block a user