using Ryujinx.Core.OsHle.Ipc; using System.Collections.Generic; namespace Ryujinx.Core.OsHle.Services.Nifm { class IStaticService : IpcService { private Dictionary m_Commands; public override IReadOnlyDictionary Commands => m_Commands; public IStaticService() { m_Commands = new Dictionary() { { 4, CreateGeneralServiceOld } }; } public long CreateGeneralServiceOld(ServiceCtx Context) { MakeObject(Context, new IGeneralService()); return 0; } } }