RyuKen/Ryujinx.HLE/HOS/Services/Am/AppletOE/IApplicationProxyService.cs

19 lines
603 B
C#
Raw Normal View History

using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService;
namespace Ryujinx.HLE.HOS.Services.Am
{
[Service("appletOE")]
class IApplicationProxyService : IpcService
{
public IApplicationProxyService(ServiceCtx context) { }
[CommandHipc(0)]
// OpenApplicationProxy(u64, pid, handle<copy>) -> object<nn::am::service::IApplicationProxy>
public ResultCode OpenApplicationProxy(ServiceCtx context)
{
MakeObject(context, new IApplicationProxy(context.Request.HandleDesc.PId));
return ResultCode.Success;
}
}
}