mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
PartitionFileSystemCore: Fix opening directories
This commit is contained in:
parent
0a96e8d623
commit
9cad4b287b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class PartitionFileSystemCore<T> : IFileSystem where T : unmanaged, IPart
|
||||||
|
|
||||||
ReadOnlySpan<byte> rootPath = new[] { (byte)'/' };
|
ReadOnlySpan<byte> rootPath = new[] { (byte)'/' };
|
||||||
|
|
||||||
if (path == rootPath)
|
if (path != rootPath)
|
||||||
return ResultFs.PathNotFound.Log();
|
return ResultFs.PathNotFound.Log();
|
||||||
|
|
||||||
outDirectory.Reset(new PartitionDirectory(this, mode));
|
outDirectory.Reset(new PartitionDirectory(this, mode));
|
||||||
|
|
Loading…
Reference in a new issue