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:
@@ -297,7 +297,7 @@ namespace GameRes.Formats.Entis
|
||||
if ((meta.BPP + 7) / 8 < 3)
|
||||
throw new InvalidFormatException();
|
||||
|
||||
ref_file = VFS.CombinePath (Path.GetDirectoryName (meta.FileName), ref_file);
|
||||
ref_file = VFS.CombinePath (VFS.GetDirectoryName (meta.FileName), ref_file);
|
||||
using (var ref_src = VFS.OpenSeekableStream (ref_file))
|
||||
{
|
||||
var ref_info = ReadMetaData (ref_src) as EriMetaData;
|
||||
|
||||
Reference in New Issue
Block a user