Ryujinx/Ryujinx.HLE/HOS/Services/Am/AppletOE/IApplicationProxyService.cs
2023-04-14 20:00:34 -03:00

19 lines
No EOL
603 B
C#

using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService;
namespace Ryujinx.HLE.HOS.Services.Am
{
[Service("appletOE")]
class IApplicationProxyService : IpcService
{
public IApplicationProxyService(ServiceCtx context) { }
[CommandCmif(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;
}
}
}