mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(EmeOpener): set PackedEntry.IsPacked propery.
This commit is contained in:
@@ -70,6 +70,7 @@ namespace GameRes.Formats.EmonEngine
|
|||||||
entry.Size = LittleEndian.ToUInt32 (index, current_offset+0x4C);
|
entry.Size = LittleEndian.ToUInt32 (index, current_offset+0x4C);
|
||||||
entry.UnpackedSize = LittleEndian.ToUInt32 (index, current_offset+0x50);
|
entry.UnpackedSize = LittleEndian.ToUInt32 (index, current_offset+0x50);
|
||||||
entry.Offset = LittleEndian.ToUInt32 (index, current_offset+0x54);
|
entry.Offset = LittleEndian.ToUInt32 (index, current_offset+0x54);
|
||||||
|
entry.IsPacked = entry.UnpackedSize != entry.Size;
|
||||||
if (!entry.CheckPlacement (file.MaxOffset))
|
if (!entry.CheckPlacement (file.MaxOffset))
|
||||||
return null;
|
return null;
|
||||||
if (3 == entry.SubType)
|
if (3 == entry.SubType)
|
||||||
|
|||||||
Reference in New Issue
Block a user