From a6dbefc0cd1301d8af6982baed9a83c331568f3c Mon Sep 17 00:00:00 2001 From: Shyanne Date: Wed, 28 Jan 2026 19:15:35 -0500 Subject: [PATCH] Update IUserLocalCommunicationService.cs --- .../Ldn/UserServiceCreator/IUserLocalCommunicationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs b/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs index 6056fec2b..fd591ae6d 100644 --- a/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs +++ b/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs @@ -496,7 +496,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator uint protocolValue = context.RequestData.ReadUInt32(); // On NX only input value 1 or 3 is allowed, with an error being thrown otherwise. - if (protocolValue != 1 || protocolValue != 3) + if (protocolValue != 1 && protocolValue != 3) { throw new ArgumentException($"{GetType().FullName}: Protocol value is not 1 or 3!! Protocol value: {protocolValue}"); }