From 3ca174ca39e7ae621d4f6d250529aadaead85442 Mon Sep 17 00:00:00 2001 From: morkt Date: Thu, 8 Feb 2018 10:48:37 +0400 Subject: [PATCH] (LibPReader): adjusted file entry flag check. --- ArcFormats/Malie/ArcLIB.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArcFormats/Malie/ArcLIB.cs b/ArcFormats/Malie/ArcLIB.cs index 16f1c4e1..182f6a8a 100644 --- a/ArcFormats/Malie/ArcLIB.cs +++ b/ArcFormats/Malie/ArcLIB.cs @@ -134,7 +134,7 @@ namespace GameRes.Formats.Malie public DatOpener () { Extensions = new string[] { "lib", "dat" }; - Signatures = new uint[] { 0, 0x3F503FB1, 0xC237434E, 0x8CD11522, 0x09D411A7 }; + Signatures = new uint[] { 0, 0x3F503FB1, 0xC237434E, 0x8CD11522, 0x09D411A7, 0xAAC48CAA }; } public override ArcFile TryOpen (ArcView file) @@ -256,7 +256,7 @@ namespace GameRes.Formats.Malie uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c); current_offset += 0x20; name = Path.Combine (root, name); - if (0 == (flags & 0x10000)) + if (0 == (flags & 0x30000)) { if (offset > entry_index) ReadDir (name, (int)offset, (int)size);