mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-30 08:55:39 +08:00
(ArcAI5Opener): added priority metadata.
This commit is contained in:
parent
0c931b5c4d
commit
9f5d6e2306
@ -49,6 +49,7 @@ namespace GameRes.Formats.Elf
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Export(typeof(ArchiveFormat))]
|
[Export(typeof(ArchiveFormat))]
|
||||||
|
[ExportMetadata("Priority", -1)]
|
||||||
public class ArcAI5Opener : ArchiveFormat
|
public class ArcAI5Opener : ArchiveFormat
|
||||||
{
|
{
|
||||||
public override string Tag { get { return "ARC/AI5WIN"; } }
|
public override string Tag { get { return "ARC/AI5WIN"; } }
|
||||||
@ -133,7 +134,7 @@ namespace GameRes.Formats.Elf
|
|||||||
{
|
{
|
||||||
m_file.View.Read (index_offset, m_name_buf, 0, (uint)scheme.NameLength);
|
m_file.View.Read (index_offset, m_name_buf, 0, (uint)scheme.NameLength);
|
||||||
string name = DecryptName (scheme);
|
string name = DecryptName (scheme);
|
||||||
if (null == name)
|
if (string.IsNullOrWhiteSpace (name))
|
||||||
return null;
|
return null;
|
||||||
index_offset += scheme.NameLength;
|
index_offset += scheme.NameLength;
|
||||||
var entry = FormatCatalog.Instance.Create<Entry> (name);
|
var entry = FormatCatalog.Instance.Create<Entry> (name);
|
||||||
|
Loading…
Reference in New Issue
Block a user