Use DirectorySaveDataFileSystem for savedata

This commit is contained in:
Alex Barney 2019-05-20 21:36:46 -05:00
parent f36ebbdd48
commit bec2330490
2 changed files with 4 additions and 2 deletions

View file

@ -229,7 +229,9 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
string savePath = context.Device.FileSystem.GetGameSavePath(saveInfo, context);
LocalFileSystem fileSystem = new LocalFileSystem(savePath);
MakeObject(context, new IFileSystem(fileSystem));
DirectorySaveDataFileSystem saveFileSystem = new DirectorySaveDataFileSystem(fileSystem);
MakeObject(context, new IFileSystem(saveFileSystem));
}
private long OpenNsp(ServiceCtx context, string pfsPath)

View file

@ -46,7 +46,7 @@
<ItemGroup>
<PackageReference Include="Concentus" Version="1.1.7" />
<PackageReference Include="LibHac" Version="0.3.2-alpha.74" />
<PackageReference Include="LibHac" Version="0.3.2--directory-savedata.78" />
</ItemGroup>
</Project>