Update IUserLocalCommunicationService.cs
This commit is contained in:
parent
138094a564
commit
b8a9e10e42
@ -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}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user