mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +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…
x
Reference in New Issue
Block a user