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