mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(MAIKA): adjusted scramble scheme detection.
This commit is contained in:
@@ -39,6 +39,11 @@ namespace GameRes.Formats.Maika
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public MikOpener ()
|
||||
{
|
||||
Signatures = new uint[] { 0x304B494D, 0x30475355 }; // 'MIK01', 'USG01'
|
||||
}
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
if (!file.View.AsciiEqual (4, "1\x1A\0"))
|
||||
@@ -61,7 +66,7 @@ namespace GameRes.Formats.Maika
|
||||
offset += entry.Size;
|
||||
index_offset += 0x10;
|
||||
}
|
||||
return new ArcFile (file, this, dir);
|
||||
return GetArchive (file, dir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user