Update IUserLocalCommunicationService.cs

This commit is contained in:
Shyanne 2026-01-28 19:15:35 -05:00
parent e63d37807a
commit a6dbefc0cd

View File

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