Files
ryujinx/src/Ryujinx.HLE/HOS/Services/Ldn/IUserServiceCreator.cs
Aaron Robinson 8e1e2d69df Make Cmif commands in HLE use virtual method invocation instead of reflection
# Conflicts:
#	src/Ryujinx.HLE/HOS/Services/IpcService.cs
2025-12-30 18:52:32 -06:00

29 lines
967 B
C#

using Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator;
namespace Ryujinx.HLE.HOS.Services.Ldn
{
[Service("ldn:u")]
partial class IUserServiceCreator : IpcService
{
public IUserServiceCreator(ServiceCtx context) : base(context.Device.System.LdnServer) { }
[CommandCmif(0)]
// CreateUserLocalCommunicationService() -> object<nn::ldn::detail::IUserLocalCommunicationService>
public ResultCode CreateUserLocalCommunicationService(ServiceCtx context)
{
MakeObject(context, new IUserLocalCommunicationService(context));
return ResultCode.Success;
}
[CommandCmif(1)] // 18.0.0+
// CreateClientProcessMonitor() -> object<nn::ldn::detail::IClientProcessMonitor>
public ResultCode CreateClientProcessMonitor(ServiceCtx context)
{
MakeObject(context, new IClientProcessMonitor(context));
return ResultCode.Success;
}
}
}