mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Some checks are pending
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
Implements IAllSystemAppletProxiesService: 350 (OpenSystemApplicationProxy) This fixes a crash that occurs when launching an NSP forwarder generated by Nro2Nsp.
39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
using Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService;
|
|
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE
|
|
{
|
|
[Service("appletAE")]
|
|
class IAllSystemAppletProxiesService : IpcService
|
|
{
|
|
public IAllSystemAppletProxiesService(ServiceCtx context) { }
|
|
|
|
[CommandCmif(100)]
|
|
// OpenSystemAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ISystemAppletProxy>
|
|
public ResultCode OpenSystemAppletProxy(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new ISystemAppletProxy(context.Request.HandleDesc.PId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[CommandCmif(200)]
|
|
[CommandCmif(201)] // 3.0.0+
|
|
// OpenLibraryAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ILibraryAppletProxy>
|
|
public ResultCode OpenLibraryAppletProxy(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new ILibraryAppletProxy(context.Request.HandleDesc.PId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[CommandCmif(350)]
|
|
// OpenSystemApplicationProxy(u64, pid, handle<copy>) -> object<nn::am::service::IApplicationProxy>
|
|
public ResultCode OpenSystemApplicationProxy(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IApplicationProxy(context.Request.HandleDesc.PId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
}
|