mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-10-25 07:34:25 +00:00
Implement IUserServiceCreator: 1 (CreateClientProcessMonitor) (ryubing/ryujinx!181)
See merge request ryubing/ryujinx!181
This commit is contained in:
@@ -15,5 +15,14 @@ namespace Ryujinx.HLE.HOS.Services.Ldn
|
||||
|
||||
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) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user