mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
Bug: path not resolved before file check
This commit is contained in:
parent
9e0909ff0c
commit
7d0cc66090
@ -73,10 +73,9 @@ namespace GameRes.Formats.Emote
|
||||
var match = PathRe.Match (line);
|
||||
if (!match.Success)
|
||||
return null;
|
||||
var pak_name = match.Groups[1].Value;
|
||||
var pak_name = VFS.CombinePath (dir, match.Groups[1].Value);
|
||||
if (!VFS.FileExists (pak_name))
|
||||
return null;
|
||||
pak_name = VFS.CombinePath (dir, pak_name);
|
||||
layers.Add (Tuple.Create (pak_name, match.Groups[2].Value));
|
||||
}
|
||||
if (0 == layers.Count)
|
||||
|
Loading…
x
Reference in New Issue
Block a user