using Ryujinx.Core.OsHle.Ipc; using System.Collections.Generic; namespace Ryujinx.Core.OsHle.Services.Apm { class ISession : IpcService { private Dictionary m_Commands; public override IReadOnlyDictionary Commands => m_Commands; public ISession() { m_Commands = new Dictionary() { { 0, SetPerformanceConfiguration } }; } public long SetPerformanceConfiguration(ServiceCtx Context) { int PerfMode = Context.RequestData.ReadInt32(); int PerfConfig = Context.RequestData.ReadInt32(); return 0; } } }