mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-10 04:39:11 +00:00
Parameter Names
This commit is contained in:
parent
ed5c8301ab
commit
59f3132b63
4 changed files with 9 additions and 8 deletions
|
@ -2,6 +2,7 @@ using Ryujinx.Common.Logging;
|
||||||
using Ryujinx.Horizon.Common;
|
using Ryujinx.Horizon.Common;
|
||||||
using Ryujinx.Horizon.Sdk.Am.Storage;
|
using Ryujinx.Horizon.Sdk.Am.Storage;
|
||||||
using Ryujinx.Horizon.Sdk.Sf;
|
using Ryujinx.Horizon.Sdk.Sf;
|
||||||
|
using Ryujinx.Horizon.Sdk.Sf.Hipc;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Ryujinx.Horizon.Am.Ipc.Storage
|
namespace Ryujinx.Horizon.Am.Ipc.Storage
|
||||||
|
@ -18,7 +19,7 @@ namespace Ryujinx.Horizon.Am.Ipc.Storage
|
||||||
}
|
}
|
||||||
|
|
||||||
[CmifCommand(10)]
|
[CmifCommand(10)]
|
||||||
public Result Write(long arg0, ReadOnlySpan<byte> span)
|
public Result Write(long offset, [Buffer(HipcBufferFlags.In | HipcBufferFlags.AutoSelect)] ReadOnlySpan<byte> span)
|
||||||
{
|
{
|
||||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||||
|
|
||||||
|
@ -26,7 +27,7 @@ namespace Ryujinx.Horizon.Am.Ipc.Storage
|
||||||
}
|
}
|
||||||
|
|
||||||
[CmifCommand(11)]
|
[CmifCommand(11)]
|
||||||
public Result Read(long arg0, ReadOnlySpan<byte> span)
|
public Result Read(long offset, [Buffer(HipcBufferFlags.Out | HipcBufferFlags.AutoSelect)] Span<byte> span)
|
||||||
{
|
{
|
||||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@ namespace Ryujinx.Horizon.Am.Ipc.Storage
|
||||||
}
|
}
|
||||||
|
|
||||||
[CmifCommand(1)]
|
[CmifCommand(1)]
|
||||||
public Result GetHandle(out int arg0, out ulong arg1)
|
public Result GetHandle([CopyHandle] out int handle, out ulong size)
|
||||||
{
|
{
|
||||||
arg0 = 0;
|
handle = 0;
|
||||||
arg1 = 0;
|
size = 0;
|
||||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||||
|
|
||||||
return Result.Success;
|
return Result.Success;
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace Ryujinx.Horizon.Sdk.Am.Storage
|
||||||
interface IStorageAccessor : IServiceObject
|
interface IStorageAccessor : IServiceObject
|
||||||
{
|
{
|
||||||
Result GetSize(out long size);
|
Result GetSize(out long size);
|
||||||
Result Write(long arg0, ReadOnlySpan<byte> span);
|
Result Write(long offset, ReadOnlySpan<byte> span);
|
||||||
Result Read(long arg0, ReadOnlySpan<byte> span);
|
Result Read(long offset, Span<byte> span);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,6 @@ namespace Ryujinx.Horizon.Sdk.Am.Storage
|
||||||
interface ITransferStorageAccessor : IServiceObject
|
interface ITransferStorageAccessor : IServiceObject
|
||||||
{
|
{
|
||||||
Result GetSize(out long size);
|
Result GetSize(out long size);
|
||||||
Result GetHandle(out int arg0, out ulong arg1);
|
Result GetHandle(out int handle, out ulong size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue