From e2a80ba29e0f3e2e2f8707d92f951439538013e2 Mon Sep 17 00:00:00 2001 From: emmauss Date: Wed, 21 Mar 2018 18:28:12 +0200 Subject: [PATCH] rename some calls to current names (#61) --- .../OsHle/Services/FspSrv/ServiceFspSrv.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Ryujinx.Core/OsHle/Services/FspSrv/ServiceFspSrv.cs b/Ryujinx.Core/OsHle/Services/FspSrv/ServiceFspSrv.cs index 49b7dd23c9..5f06866872 100644 --- a/Ryujinx.Core/OsHle/Services/FspSrv/ServiceFspSrv.cs +++ b/Ryujinx.Core/OsHle/Services/FspSrv/ServiceFspSrv.cs @@ -13,28 +13,28 @@ namespace Ryujinx.Core.OsHle.Services.FspSrv { m_Commands = new Dictionary() { - { 1, Initialize }, - { 18, MountSdCard }, - { 51, MountSaveData }, - { 200, OpenDataStorageByCurrentProcess }, - { 203, OpenRomStorage }, - { 1005, GetGlobalAccessLogMode } + { 1, SetCurrentProcess }, + { 18, OpenSdCardFileSystem }, + { 51, OpenSaveDataFileSystem }, + { 200, OpenDataStorageByCurrentProcess }, + { 203, OpenPatchDataStorageByCurrentProcess }, + { 1005, GetGlobalAccessLogMode } }; } - public long Initialize(ServiceCtx Context) + public long SetCurrentProcess(ServiceCtx Context) { return 0; } - public long MountSdCard(ServiceCtx Context) + public long OpenSdCardFileSystem(ServiceCtx Context) { MakeObject(Context, new IFileSystem(Context.Ns.VFs.GetSdCardPath())); return 0; } - public long MountSaveData(ServiceCtx Context) + public long OpenSaveDataFileSystem(ServiceCtx Context) { MakeObject(Context, new IFileSystem(Context.Ns.VFs.GetGameSavesPath())); @@ -48,7 +48,7 @@ namespace Ryujinx.Core.OsHle.Services.FspSrv return 0; } - public long OpenRomStorage(ServiceCtx Context) + public long OpenPatchDataStorageByCurrentProcess(ServiceCtx Context) { MakeObject(Context, new IStorage(Context.Ns.VFs.RomFs));