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.
This commit is contained in:
Thomas Guillemard 2019-10-11 17:53:45 +02:00 committed by Ac_K
parent 9142aca48f
commit 4210fe2b7b

View file

@ -96,6 +96,7 @@ namespace Ryujinx.HLE.HOS.Ipc
else if (request.Type == IpcMessageType.CloseSession) else if (request.Type == IpcMessageType.CloseSession)
{ {
// TODO // TODO
return KernelResult.PortRemoteClosed;
} }
else else
{ {