1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Core/OsHle/Services/ServiceFspSrv.cs

49 lines
1.2 KiB
C#
Raw Normal View History

using Ryujinx.Core.OsHle.Objects.FspSrv;
2018-02-05 00:08:20 +01:00
using static Ryujinx.Core.OsHle.Objects.ObjHelper;
2018-02-05 00:08:20 +01:00
namespace Ryujinx.Core.OsHle.Services
2018-02-05 00:08:20 +01:00
{
static partial class Service
{
public static long FspSrvInitialize(ServiceCtx Context)
{
return 0;
}
public static long FspSrvMountSdCard(ServiceCtx Context)
{
MakeObject(Context, new IFileSystem(Context.Ns.VFs.GetSdCardPath()));
return 0;
}
2018-02-05 00:08:20 +01:00
public static long FspSrvMountSaveData(ServiceCtx Context)
{
MakeObject(Context, new IFileSystem(Context.Ns.VFs.GetGameSavesPath()));
2018-02-05 00:08:20 +01:00
return 0;
}
public static long FspSrvOpenDataStorageByCurrentProcess(ServiceCtx Context)
{
MakeObject(Context, new IStorage(Context.Ns.VFs.RomFs));
2018-02-05 00:08:20 +01:00
return 0;
}
public static long FspSrvOpenRomStorage(ServiceCtx Context)
{
MakeObject(Context, new IStorage(Context.Ns.VFs.RomFs));
2018-02-05 00:08:20 +01:00
return 0;
}
public static long FspSrvGetGlobalAccessLogMode(ServiceCtx Context)
{
Context.ResponseData.Write(0);
return 0;
}
}
}