mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix bug in FileSystemServiceObjectAdapter.DoCreateDirectory
This commit is contained in:
parent
76e5a20e1d
commit
8df2007b1a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace LibHac.Fs.Impl
|
||||||
Result rc = GetPathForServiceObject(out Path sfPath, path);
|
Result rc = GetPathForServiceObject(out Path sfPath, path);
|
||||||
if (rc.IsFailure()) return rc;
|
if (rc.IsFailure()) return rc;
|
||||||
|
|
||||||
return BaseFs.Target.DeleteFile(in sfPath);
|
return BaseFs.Target.CreateDirectory(in sfPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override Result DoDeleteDirectory(U8Span path)
|
protected override Result DoDeleteDirectory(U8Span path)
|
||||||
|
|
Loading…
Reference in a new issue