diff --git a/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs b/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs index abf4153d0..d891a32a5 100644 --- a/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs +++ b/src/Ryujinx.HLE/HOS/Services/Ldn/UserServiceCreator/IUserLocalCommunicationService.cs @@ -5,6 +5,7 @@ using Ryujinx.Common.Logging; using Ryujinx.Common.Memory; using Ryujinx.Common.Utilities; using Ryujinx.Cpu; +using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Kernel.Threading; using Ryujinx.HLE.HOS.Services.Ldn.Types; @@ -496,11 +497,11 @@ 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 NotSupportedException($"Protocol value is {protocolValue}!!"); + throw new ServiceNotImplementedException(this, context, $"{GetType().FullName}: Protocol value is {protocolValue}!!"); } Logger.Info?.PrintMsg(LogClass.ServiceLdn, $"Protocol value: {protocolValue}"); - Logger.Stub?.PrintMsg(LogClass.ServiceLdn, "IUserLocalCommunicationService SetProtocol: Stubbed."); + Logger.Stub?.PrintStub(LogClass.ServiceLdn); return ResultCode.Success; }