Sfoglia il codice sorgente

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.
Thomas Guillemard 6 anni fa
parent
commit
4210fe2b7b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Ryujinx.HLE/HOS/Ipc/IpcHandler.cs

+ 1 - 0
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
                 {