From 4210fe2b7bcd2ae92e83decac930f6dbe7fd3f65 Mon Sep 17 00:00:00 2001 From: Thomas Guillemard Date: Fri, 11 Oct 2019 17:53:45 +0200 Subject: [PATCH] Fix error code returned by CloseSession (#787) When we close a session via IPC, we should return an error code. This fix an assert in some games that are shipped with debug modules. --- Ryujinx.HLE/HOS/Ipc/IpcHandler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs b/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs index 50ab3d10..beb7878f 100644 --- a/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs +++ b/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs @@ -96,6 +96,7 @@ namespace Ryujinx.HLE.HOS.Ipc else if (request.Type == IpcMessageType.CloseSession) { // TODO + return KernelResult.PortRemoteClosed; } else {