using Ryujinx.HLE.HOS.Ipc; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Services.Ns { [Service("ns:am2")] [Service("ns:ec")] class IServiceGetterInterface : IpcService { private Dictionary _commands; public override IReadOnlyDictionary Commands => _commands; public IServiceGetterInterface(ServiceCtx context) { _commands = new Dictionary { { 7996, GetApplicationManagerInterface } }; } public long GetApplicationManagerInterface(ServiceCtx context) { MakeObject(context, new IApplicationManagerInterface(context)); return 0; } } }