mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(MK2): additional image signature.
This commit is contained in:
parent
8a79aa4b17
commit
5f1eb8be9b
@ -94,7 +94,7 @@ namespace GameRes.Formats.Maika
|
||||
public override Stream OpenEntry (ArcFile arc, Entry entry)
|
||||
{
|
||||
ushort signature = arc.File.View.ReadUInt16 (entry.Offset);
|
||||
if (0x3146 != signature && 0x3143 != signature && 0x3144 != signature)
|
||||
if (0x3146 != signature && 0x3143 != signature && 0x3144 != signature && 0x3145 != signature)
|
||||
return base.OpenEntry (arc, entry);
|
||||
uint packed_size = arc.File.View.ReadUInt32 (entry.Offset+2);
|
||||
if (packed_size < 14 || packed_size > entry.Size-10)
|
||||
|
Loading…
x
Reference in New Issue
Block a user