Implement IUserServiceCreator: 1 (CreateClientProcessMonitor) (ryubing/ryujinx!181)
See merge request ryubing/ryujinx!181merge-requests/184/head Canary-1.3.175
parent
1c084373c9
commit
6541ad0726
|
|
@ -15,5 +15,14 @@ namespace Ryujinx.HLE.HOS.Services.Ldn
|
||||||
|
|
||||||
return ResultCode.Success;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
using Ryujinx.Common.Logging;
|
||||||
|
|
||||||
|
namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator
|
||||||
|
{
|
||||||
|
class IClientProcessMonitor : DisposableIpcService
|
||||||
|
{
|
||||||
|
public IClientProcessMonitor(ServiceCtx context) { }
|
||||||
|
|
||||||
|
[CommandCmif(0)] // 18.0.0+
|
||||||
|
// RegisterClient(u64 pid_placeholder, pid)
|
||||||
|
public ResultCode RegisterClient(ServiceCtx context)
|
||||||
|
{
|
||||||
|
Logger.Stub?.PrintStub(LogClass.ServiceLdn);
|
||||||
|
|
||||||
|
return ResultCode.Success;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Dispose(bool isDisposing) { }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue