Update IUserLocalCommunicationService.cs

This commit is contained in:
Shyanne 2026-01-28 11:46:24 -05:00 committed by LotP
parent 138094a564
commit b8a9e10e42

View File

@ -498,7 +498,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator
// On NX only input value 1 or 3 is allowed, with an error being thrown otherwise.
if (protocolValue != 1 || protocolValue != 3)
{
throw new ServiceNotImplementedException(this, context, $"{GetType().FullName}: Protocol value is {protocolValue}!!");
throw new ArgumentException($"{GetType().FullName}: Protocol value is not 1 or 3!! Protocol value: {protocolValue}");
}
Logger.Stub?.PrintStub(LogClass.ServiceLdn, $"Protocol value: {protocolValue}");