1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 20:36:40 +00:00

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) private static void PrintResult(KernelResult result, string svcName)
{ {
if (result != KernelResult.Success && if (result != KernelResult.Success &&
result != KernelResult.TimedOut && result != KernelResult.TimedOut &&
result != KernelResult.Cancelled && result != KernelResult.Cancelled &&
result != KernelResult.PortRemoteClosed &&
result != KernelResult.InvalidState) result != KernelResult.InvalidState)
{ {
Logger.Warning?.Print(LogClass.KernelSvc, $"{svcName} returned error {result}."); Logger.Warning?.Print(LogClass.KernelSvc, $"{svcName} returned error {result}.");