ryujinx_ryubing/src/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs
Aaron Robinson 8e1e2d69df Make Cmif commands in HLE use virtual method invocation instead of reflection
# Conflicts:
#	src/Ryujinx.HLE/HOS/Services/IpcService.cs
2025-12-30 18:52:32 -06:00

30 lines
1,022 B
C#

namespace Ryujinx.HLE.HOS.Services.Ns
{
[Service("ns:am2")]
[Service("ns:ec")]
[Service("ns:rid")]
[Service("ns:rt")]
[Service("ns:web")]
partial class IServiceGetterInterface : IpcService
{
public IServiceGetterInterface(ServiceCtx context) { }
[CommandCmif(7996)]
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
{
MakeObject(context, new IApplicationManagerInterface(context));
return ResultCode.Success;
}
[CommandCmif(7989)]
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
{
MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
return ResultCode.Success;
}
}
}