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