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