Fix the save data path on the SD card

This commit is contained in:
Alex Barney 2021-08-20 15:57:48 -07:00
parent 489ad0fb8a
commit 48c99f13bb

View file

@ -682,9 +682,9 @@ namespace LibHac.FsSrv
Unsafe.SkipInit(out FsPath path); Unsafe.SkipInit(out FsPath path);
var sb = new U8StringBuilder(path.Str); var sb = new U8StringBuilder(path.Str);
sb.Append((byte)'/') sb.Append((byte)'/')
.Append(basePath.Value) .Append(CommonPaths.SdCardNintendoRootDirectoryName)
.Append((byte)'/') .Append((byte)'/')
.Append(CommonPaths.SdCardNintendoRootDirectoryName); .Append(basePath.Value);
rc = Utility.WrapSubDirectory(out tempSubFs, ref tempFs, path, createIfMissing); rc = Utility.WrapSubDirectory(out tempSubFs, ref tempFs, path, createIfMissing);
if (rc.IsFailure()) return rc; if (rc.IsFailure()) return rc;