mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 21:58:53 +08:00
virtual file system fixes.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace GameRes
|
||||
}
|
||||
}
|
||||
|
||||
public class PhysicalFileSystem : IFileSystem
|
||||
public sealed class PhysicalFileSystem : IFileSystem
|
||||
{
|
||||
public string CurrentDirectory
|
||||
{
|
||||
@@ -396,6 +396,8 @@ namespace GameRes
|
||||
if (entry.Name == LastVisitedPath && null != LastVisitedArc)
|
||||
{
|
||||
Push (LastVisitedPath, LastVisitedArc);
|
||||
if (LastVisitedArc is FlatArchiveFileSystem)
|
||||
CurrentArchive = (LastVisitedArc as FlatArchiveFileSystem).Source;
|
||||
return;
|
||||
}
|
||||
Flush();
|
||||
|
||||
Reference in New Issue
Block a user