Some fix to IRequest on NIFM, support sending objects to services (#294)
This commit is contained in:
parent
7a308d9e73
commit
fdda67d476
4 changed files with 54 additions and 21 deletions
|
@ -47,13 +47,15 @@ namespace Ryujinx.HLE.OsHle.Ipc
|
|||
HasPId = true;
|
||||
}
|
||||
|
||||
public static IpcHandleDesc MakeCopy(int Handle) => new IpcHandleDesc(
|
||||
new int[] { Handle },
|
||||
new int[0]);
|
||||
public static IpcHandleDesc MakeCopy(params int[] Handles)
|
||||
{
|
||||
return new IpcHandleDesc(Handles, new int[0]);
|
||||
}
|
||||
|
||||
public static IpcHandleDesc MakeMove(int Handle) => new IpcHandleDesc(
|
||||
new int[0],
|
||||
new int[] { Handle });
|
||||
public static IpcHandleDesc MakeMove(params int[] Handles)
|
||||
{
|
||||
return new IpcHandleDesc(new int[0], Handles);
|
||||
}
|
||||
|
||||
public byte[] GetBytes()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue