From a438a4bc1628581796793999e48cee6dff8a310e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 23 Dec 2021 14:43:30 -0300 Subject: [PATCH] Remove PortRemoteClosed warning (#2928) --- Ryujinx.HLE/HOS/Kernel/SupervisorCall/SyscallTable.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/SyscallTable.cs b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/SyscallTable.cs index bbd77c36..7e9f08c0 100644 --- a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/SyscallTable.cs +++ b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/SyscallTable.cs @@ -467,9 +467,10 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall private static void PrintResult(KernelResult result, string svcName) { - if (result != KernelResult.Success && - result != KernelResult.TimedOut && + if (result != KernelResult.Success && + result != KernelResult.TimedOut && result != KernelResult.Cancelled && + result != KernelResult.PortRemoteClosed && result != KernelResult.InvalidState) { Logger.Warning?.Print(LogClass.KernelSvc, $"{svcName} returned error {result}.");