From 4ededf9c981e0cc7876865e9d3eec30c16b493d0 Mon Sep 17 00:00:00 2001 From: Thog Date: Fri, 11 Oct 2019 17:04:17 +0200 Subject: [PATCH] Fix error code returned by CloseSession 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 50ab3d1000..beb7878fdd 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 {