mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
parent
3208173620
commit
e07b0265c6
2 changed files with 10 additions and 6 deletions
|
@ -21,7 +21,8 @@ namespace Ryujinx.HLE.OsHle.Ipc
|
||||||
{
|
{
|
||||||
BinaryReader ReqReader = new BinaryReader(Raw);
|
BinaryReader ReqReader = new BinaryReader(Raw);
|
||||||
|
|
||||||
if (Request.Type == IpcMessageType.Request)
|
if (Request.Type == IpcMessageType.Request ||
|
||||||
|
Request.Type == IpcMessageType.RequestWithContext)
|
||||||
{
|
{
|
||||||
Response.Type = IpcMessageType.Response;
|
Response.Type = IpcMessageType.Response;
|
||||||
|
|
||||||
|
@ -44,7 +45,8 @@ namespace Ryujinx.HLE.OsHle.Ipc
|
||||||
Response.RawData = ResMS.ToArray();
|
Response.RawData = ResMS.ToArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (Request.Type == IpcMessageType.Control)
|
else if (Request.Type == IpcMessageType.Control ||
|
||||||
|
Request.Type == IpcMessageType.ControlWithContext)
|
||||||
{
|
{
|
||||||
long Magic = ReqReader.ReadInt64();
|
long Magic = ReqReader.ReadInt64();
|
||||||
long CmdId = ReqReader.ReadInt64();
|
long CmdId = ReqReader.ReadInt64();
|
||||||
|
|
|
@ -2,9 +2,11 @@ namespace Ryujinx.HLE.OsHle.Ipc
|
||||||
{
|
{
|
||||||
enum IpcMessageType
|
enum IpcMessageType
|
||||||
{
|
{
|
||||||
Response = 0,
|
Response = 0,
|
||||||
CloseSession = 2,
|
CloseSession = 2,
|
||||||
Request = 4,
|
Request = 4,
|
||||||
Control = 5
|
Control = 5,
|
||||||
|
RequestWithContext = 6,
|
||||||
|
ControlWithContext = 7
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue