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