diff options
| author | Thomas Guillemard <me@thog.eu> | 2019-10-11 17:53:45 +0200 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2019-10-11 17:53:45 +0200 |
| commit | 4210fe2b7bcd2ae92e83decac930f6dbe7fd3f65 (patch) | |
| tree | bbcc826ae1a9ee55be207343e957583fcf6b59fb | |
| parent | 9142aca48ff09ed32954eceb3456a255d61945b7 (diff) | |
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.
| -rw-r--r-- | Ryujinx.HLE/HOS/Ipc/IpcHandler.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
