aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Apm/ISession.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-12-04 22:52:39 -0200
committerGitHub <noreply@github.com>2018-12-04 22:52:39 -0200
commit3615a70cae3f89197fe185dfc5d0a47fa42151d9 (patch)
tree8e4737422fba15199c1a6ce7c6345996c0e907b5 /Ryujinx.HLE/HOS/Services/Apm/ISession.cs
parent85dbb9559ad317a657dafd24da27fec4b3f5250f (diff)
Revert "Adjust naming conventions and general refactoring in HLE Project (#490)" (#526)
This reverts commit 85dbb9559ad317a657dafd24da27fec4b3f5250f.
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Apm/ISession.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Apm/ISession.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Apm/ISession.cs b/Ryujinx.HLE/HOS/Services/Apm/ISession.cs
index cef34383..d04bcfc9 100644
--- a/Ryujinx.HLE/HOS/Services/Apm/ISession.cs
+++ b/Ryujinx.HLE/HOS/Services/Apm/ISession.cs
@@ -6,32 +6,32 @@ namespace Ryujinx.HLE.HOS.Services.Apm
{
class ISession : IpcService
{
- private Dictionary<int, ServiceProcessRequest> _commands;
+ private Dictionary<int, ServiceProcessRequest> m_Commands;
- public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
+ public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
public ISession()
{
- _commands = new Dictionary<int, ServiceProcessRequest>
+ m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
{ 0, SetPerformanceConfiguration },
{ 1, GetPerformanceConfiguration }
};
}
- public long SetPerformanceConfiguration(ServiceCtx context)
+ public long SetPerformanceConfiguration(ServiceCtx Context)
{
- PerformanceMode perfMode = (PerformanceMode)context.RequestData.ReadInt32();
- PerformanceConfiguration perfConfig = (PerformanceConfiguration)context.RequestData.ReadInt32();
+ PerformanceMode PerfMode = (PerformanceMode)Context.RequestData.ReadInt32();
+ PerformanceConfiguration PerfConfig = (PerformanceConfiguration)Context.RequestData.ReadInt32();
return 0;
}
- public long GetPerformanceConfiguration(ServiceCtx context)
+ public long GetPerformanceConfiguration(ServiceCtx Context)
{
- PerformanceMode perfMode = (PerformanceMode)context.RequestData.ReadInt32();
+ PerformanceMode PerfMode = (PerformanceMode)Context.RequestData.ReadInt32();
- context.ResponseData.Write((uint)PerformanceConfiguration.PerformanceConfiguration1);
+ Context.ResponseData.Write((uint)PerformanceConfiguration.PerformanceConfiguration1);
Logger.PrintStub(LogClass.ServiceApm, "Stubbed.");