Fix bug in FileSystemServiceObjectAdapter.DoCreateDirectory

This commit is contained in:
Alex Barney 2021-08-11 14:46:42 -07:00
parent 76e5a20e1d
commit 8df2007b1a

View file

@ -44,7 +44,7 @@ namespace LibHac.Fs.Impl
Result rc = GetPathForServiceObject(out Path sfPath, path);
if (rc.IsFailure()) return rc;
return BaseFs.Target.DeleteFile(in sfPath);
return BaseFs.Target.CreateDirectory(in sfPath);
}
protected override Result DoDeleteDirectory(U8Span path)