mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
(ReadBaseImage): use VFS.CombinePath()
This commit is contained in:
parent
7a8608475e
commit
8105d7c59f
@ -176,7 +176,7 @@ namespace GameRes.Formats.Majiro
|
|||||||
{
|
{
|
||||||
string name = Encodings.cp932.GetString (name_bin, 0, name_bin.Length-1);
|
string name = Encodings.cp932.GetString (name_bin, 0, name_bin.Length-1);
|
||||||
string dir_name = Path.GetDirectoryName (meta.FileName);
|
string dir_name = Path.GetDirectoryName (meta.FileName);
|
||||||
name = Path.Combine (dir_name, name);
|
name = VFS.CombinePath (dir_name, name);
|
||||||
if (VFS.FileExists (name))
|
if (VFS.FileExists (name))
|
||||||
{
|
{
|
||||||
using (var base_file = VFS.OpenSeekableStream (name))
|
using (var base_file = VFS.OpenSeekableStream (name))
|
||||||
|
Loading…
Reference in New Issue
Block a user