2019-09-19 00:45:11 +00:00
|
|
|
using Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService;
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE
|
2018-04-21 19:30:06 +00:00
|
|
|
{
|
2019-07-10 15:59:54 +00:00
|
|
|
[Service("appletAE")]
|
2018-04-21 19:30:06 +00:00
|
|
|
class IAllSystemAppletProxiesService : IpcService
|
|
|
|
{
|
2019-07-12 01:13:43 +00:00
|
|
|
public IAllSystemAppletProxiesService(ServiceCtx context) { }
|
2018-04-21 19:30:06 +00:00
|
|
|
|
2021-04-13 22:01:24 +00:00
|
|
|
[CommandHipc(100)]
|
2019-07-12 01:13:43 +00:00
|
|
|
// OpenSystemAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ISystemAppletProxy>
|
2019-07-14 19:04:38 +00:00
|
|
|
public ResultCode OpenSystemAppletProxy(ServiceCtx context)
|
2018-04-21 19:30:06 +00:00
|
|
|
{
|
2020-12-01 23:23:43 +00:00
|
|
|
MakeObject(context, new ISystemAppletProxy(context.Request.HandleDesc.PId));
|
2018-04-21 19:30:06 +00:00
|
|
|
|
2019-07-14 19:04:38 +00:00
|
|
|
return ResultCode.Success;
|
2018-04-21 19:30:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|