Remove PortRemoteClosed warning (#2928)

This commit is contained in:
gdkchan 2021-12-23 14:43:30 -03:00 committed by GitHub
parent 3aa22a1408
commit a438a4bc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}.");