mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
perf: edit arc
This commit is contained in:
@@ -22,12 +22,14 @@ namespace GameRes.Formats.MAGES
|
||||
{
|
||||
string filepath = Path.GetDirectoryName(filedata.Name);
|
||||
filepath = Path.Combine(filepath, "list.bin");
|
||||
if (! File.Exists(filepath)) return null;
|
||||
filelist = new ArcView(filepath);
|
||||
}
|
||||
else if (filedata.Name.EndsWith("list.bin"))
|
||||
{
|
||||
string filepath = Path.GetDirectoryName(filedata.Name);
|
||||
filepath = Path.Combine(filepath, "data.bin");
|
||||
if (!File.Exists(filepath)) return null;
|
||||
filelist = new ArcView(filepath);
|
||||
return TryOpen(filelist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user