mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 19:45:13 +00:00
parent
31b35a9645
commit
c9f54aabfb
1 changed files with 3 additions and 2 deletions
|
@ -86,7 +86,7 @@ namespace Ryujinx.Core.OsHle.Ipc
|
||||||
long CmdPtr,
|
long CmdPtr,
|
||||||
int HndId)
|
int HndId)
|
||||||
{
|
{
|
||||||
IpcMessage Response = new IpcMessage(Request.IsDomain);
|
IpcMessage Response = new IpcMessage(Request.IsDomain && Request.Type == IpcMessageType.Request);
|
||||||
|
|
||||||
using (MemoryStream Raw = new MemoryStream(Request.RawData))
|
using (MemoryStream Raw = new MemoryStream(Request.RawData))
|
||||||
{
|
{
|
||||||
|
@ -192,6 +192,7 @@ namespace Ryujinx.Core.OsHle.Ipc
|
||||||
{
|
{
|
||||||
case 0: Request = IpcConvertSessionToDomain(Ns, Session, Response, HndId); break;
|
case 0: Request = IpcConvertSessionToDomain(Ns, Session, Response, HndId); break;
|
||||||
case 3: Request = IpcQueryBufferPointerSize(Response); break;
|
case 3: Request = IpcQueryBufferPointerSize(Response); break;
|
||||||
|
case 2: //IpcDuplicateSession, differences is unknown.
|
||||||
case 4: Request = IpcDuplicateSessionEx(Ns, Session, Response, ReqReader); break;
|
case 4: Request = IpcDuplicateSessionEx(Ns, Session, Response, ReqReader); break;
|
||||||
|
|
||||||
default: throw new NotImplementedException(CmdId.ToString());
|
default: throw new NotImplementedException(CmdId.ToString());
|
||||||
|
|
Loading…
Reference in a new issue