mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use VFS.GetDirectoryName() method.
This commit is contained in:
@@ -182,7 +182,7 @@ namespace GameRes.Formats.Majiro
|
||||
try
|
||||
{
|
||||
string name = Encodings.cp932.GetString (name_bin, 0, name_bin.Length-1);
|
||||
string dir_name = Path.GetDirectoryName (meta.FileName);
|
||||
string dir_name = VFS.GetDirectoryName (meta.FileName);
|
||||
name = VFS.CombinePath (dir_name, name);
|
||||
if (VFS.FileExists (name))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user