diff --git a/src/LibHac/Fs/Impl/FileSystemServiceObjectAdapter.cs b/src/LibHac/Fs/Impl/FileSystemServiceObjectAdapter.cs index 15627179..9b599187 100644 --- a/src/LibHac/Fs/Impl/FileSystemServiceObjectAdapter.cs +++ b/src/LibHac/Fs/Impl/FileSystemServiceObjectAdapter.cs @@ -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)