2019-09-19 00:45:11 +00:00
|
|
|
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService;
|
|
|
|
|
2018-08-16 23:47:36 +00:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am
|
2018-02-10 00:14:55 +00:00
|
|
|
{
|
2019-07-10 15:59:54 +00:00
|
|
|
[Service("appletOE")]
|
2018-04-06 04:01:52 +00:00
|
|
|
class IApplicationProxyService : IpcService
|
2018-02-10 00:14:55 +00:00
|
|
|
{
|
2019-07-12 01:13:43 +00:00
|
|
|
public IApplicationProxyService(ServiceCtx context) { }
|
2018-02-10 00:14:55 +00:00
|
|
|
|
2019-07-12 01:13:43 +00:00
|
|
|
[Command(0)]
|
|
|
|
// OpenApplicationProxy(u64, pid, handle<copy>) -> object<nn::am::service::IApplicationProxy>
|
2019-07-14 19:04:38 +00:00
|
|
|
public ResultCode OpenApplicationProxy(ServiceCtx context)
|
2018-02-10 00:14:55 +00:00
|
|
|
{
|
2020-12-01 23:23:43 +00:00
|
|
|
MakeObject(context, new IApplicationProxy(context.Request.HandleDesc.PId));
|
2018-02-25 04:34:16 +00:00
|
|
|
|
2019-07-14 19:04:38 +00:00
|
|
|
return ResultCode.Success;
|
2018-02-10 00:14:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|