mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-10 04:03:54 +08:00
(LibPReader): adjusted file entry flag check.
This commit is contained in:
parent
4642788522
commit
3ca174ca39
@ -134,7 +134,7 @@ namespace GameRes.Formats.Malie
|
|||||||
public DatOpener ()
|
public DatOpener ()
|
||||||
{
|
{
|
||||||
Extensions = new string[] { "lib", "dat" };
|
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)
|
public override ArcFile TryOpen (ArcView file)
|
||||||
@ -256,7 +256,7 @@ namespace GameRes.Formats.Malie
|
|||||||
uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c);
|
uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c);
|
||||||
current_offset += 0x20;
|
current_offset += 0x20;
|
||||||
name = Path.Combine (root, name);
|
name = Path.Combine (root, name);
|
||||||
if (0 == (flags & 0x10000))
|
if (0 == (flags & 0x30000))
|
||||||
{
|
{
|
||||||
if (offset > entry_index)
|
if (offset > entry_index)
|
||||||
ReadDir (name, (int)offset, (int)size);
|
ReadDir (name, (int)offset, (int)size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user