mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
PartitionFileSystemCore: Fix opening directories
This commit is contained in:
parent
0a96e8d623
commit
9cad4b287b
@ -57,7 +57,7 @@ public class PartitionFileSystemCore<T> : IFileSystem where T : unmanaged, IPart
|
||||
|
||||
ReadOnlySpan<byte> rootPath = new[] { (byte)'/' };
|
||||
|
||||
if (path == rootPath)
|
||||
if (path != rootPath)
|
||||
return ResultFs.PathNotFound.Log();
|
||||
|
||||
outDirectory.Reset(new PartitionDirectory(this, mode));
|
||||
|
Loading…
x
Reference in New Issue
Block a user