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