(ArchiveFormat): CreateFile and CreatePath methods moved to PhysicalFileSystem.

This commit is contained in:
morkt
2018-09-19 12:09:05 +04:00
parent 5ab09b0af4
commit e7d531e214
3 changed files with 42 additions and 39 deletions

View File

@@ -55,7 +55,7 @@ namespace GARbro.GUI
protected Stream CreateNewFile (string filename, bool create_path = false)
{
if (create_path)
filename = GameRes.ArchiveFormat.CreatePath (filename);
filename = GameRes.PhysicalFileSystem.CreatePath (filename);
FileMode open_mode = FileMode.CreateNew;
if (m_duplicate_action.ApplyToAll &&
m_duplicate_action.Action == ExistingFileAction.Overwrite)