Stub CreateSaveData

This commit is contained in:
Melissa Goad 2018-04-19 01:07:34 -05:00
parent 952af074c0
commit 0df76c3e3b

View file

@ -15,10 +15,11 @@ namespace Ryujinx.Core.OsHle.Services.FspSrv
{ {
{ 1, SetCurrentProcess }, { 1, SetCurrentProcess },
{ 18, OpenSdCardFileSystem }, { 18, OpenSdCardFileSystem },
{ 22, CreateSaveData },
{ 51, OpenSaveDataFileSystem }, { 51, OpenSaveDataFileSystem },
{ 200, OpenDataStorageByCurrentProcess }, { 200, OpenDataStorageByCurrentProcess },
{ 203, OpenPatchDataStorageByCurrentProcess }, { 203, OpenPatchDataStorageByCurrentProcess },
{ 1005, GetGlobalAccessLogMode } { 1005, GetGlobalAccessLogMode },
}; };
} }
@ -34,6 +35,13 @@ namespace Ryujinx.Core.OsHle.Services.FspSrv
return 0; return 0;
} }
public long CreateSaveData(ServiceCtx Context)
{
//TODO: Stubbed
return 0;
}
public long OpenSaveDataFileSystem(ServiceCtx Context) public long OpenSaveDataFileSystem(ServiceCtx Context)
{ {
MakeObject(Context, new IFileSystem(Context.Ns.VFs.GetGameSavesPath())); MakeObject(Context, new IFileSystem(Context.Ns.VFs.GetGameSavesPath()));