mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 07:45:45 +00:00
42 lines
No EOL
1 KiB
C#
42 lines
No EOL
1 KiB
C#
using Ryujinx.OsHle.Objects;
|
|
|
|
using static Ryujinx.OsHle.Objects.ObjHelper;
|
|
|
|
namespace Ryujinx.OsHle.Services
|
|
{
|
|
static partial class Service
|
|
{
|
|
public static long FspSrvInitialize(ServiceCtx Context)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static long FspSrvMountSaveData(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new FspSrvIFileSystem(Context.Ns.VFs.GetGameSavesPath()));
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long FspSrvOpenDataStorageByCurrentProcess(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new FspSrvIStorage(Context.Ns.VFs.RomFs));
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long FspSrvOpenRomStorage(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new FspSrvIStorage(Context.Ns.VFs.RomFs));
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long FspSrvGetGlobalAccessLogMode(ServiceCtx Context)
|
|
{
|
|
Context.ResponseData.Write(0);
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |