ryujinx/Ryujinx.Core/OsHle/Services/Apm/ISession.cs

28 lines
751 B
C#
Raw Normal View History

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