From 3615a70cae3f89197fe185dfc5d0a47fa42151d9 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 4 Dec 2018 22:52:39 -0200 Subject: Revert "Adjust naming conventions and general refactoring in HLE Project (#490)" (#526) This reverts commit 85dbb9559ad317a657dafd24da27fec4b3f5250f. --- Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs | 14 +++++++------- .../HOS/Services/Ns/IApplicationManagerInterface.cs | 9 +++++---- Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs | 6 +++--- Ryujinx.HLE/HOS/Services/Ns/ISystemUpdateInterface.cs | 6 +++--- .../HOS/Services/Ns/IVulnerabilityManagerInterface.cs | 6 +++--- 5 files changed, 21 insertions(+), 20 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Ns') diff --git a/Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs b/Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs index 8bbd0dea..82fce6b9 100644 --- a/Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs +++ b/Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs @@ -6,35 +6,35 @@ namespace Ryujinx.HLE.HOS.Services.Ns { class IAddOnContentManager : IpcService { - private Dictionary _commands; + private Dictionary m_Commands; - public override IReadOnlyDictionary Commands => _commands; + public override IReadOnlyDictionary Commands => m_Commands; public IAddOnContentManager() { - _commands = new Dictionary + m_Commands = new Dictionary() { { 2, CountAddOnContent }, { 3, ListAddOnContent } }; } - public static long CountAddOnContent(ServiceCtx context) + public static long CountAddOnContent(ServiceCtx Context) { - context.ResponseData.Write(0); + Context.ResponseData.Write(0); Logger.PrintStub(LogClass.ServiceNs, "Stubbed."); return 0; } - public static long ListAddOnContent(ServiceCtx context) + public static long ListAddOnContent(ServiceCtx Context) { Logger.PrintStub(LogClass.ServiceNs, "Stubbed."); //TODO: This is supposed to write a u32 array aswell. //It's unknown what it contains. - context.ResponseData.Write(0); + Context.ResponseData.Write(0); return 0; } diff --git a/Ryujinx.HLE/HOS/Services/Ns/IApplicationManagerInterface.cs b/Ryujinx.HLE/HOS/Services/Ns/IApplicationManagerInterface.cs index 72d7787f..ee438d99 100644 --- a/Ryujinx.HLE/HOS/Services/Ns/IApplicationManagerInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Ns/IApplicationManagerInterface.cs @@ -1,19 +1,20 @@ using Ryujinx.HLE.HOS.Ipc; +using Ryujinx.HLE.HOS.Kernel; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Services.Ns { class IApplicationManagerInterface : IpcService { - private Dictionary _commands; + private Dictionary m_Commands; - public override IReadOnlyDictionary Commands => _commands; + public override IReadOnlyDictionary Commands => m_Commands; - private bool _isInitialized; + private bool IsInitialized; public IApplicationManagerInterface() { - _commands = new Dictionary + m_Commands = new Dictionary() { }; diff --git a/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs b/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs index 12f7b69b..a27cfe60 100644 --- a/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs @@ -5,13 +5,13 @@ namespace Ryujinx.HLE.HOS.Services.Ns { class IServiceGetterInterface : IpcService { - private Dictionary _commands; + private Dictionary m_Commands; - public override IReadOnlyDictionary Commands => _commands; + public override IReadOnlyDictionary Commands => m_Commands; public IServiceGetterInterface() { - _commands = new Dictionary + m_Commands = new Dictionary() { //... }; diff --git a/Ryujinx.HLE/HOS/Services/Ns/ISystemUpdateInterface.cs b/Ryujinx.HLE/HOS/Services/Ns/ISystemUpdateInterface.cs index 1b898561..6ade8865 100644 --- a/Ryujinx.HLE/HOS/Services/Ns/ISystemUpdateInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Ns/ISystemUpdateInterface.cs @@ -5,13 +5,13 @@ namespace Ryujinx.HLE.HOS.Services.Ns { class ISystemUpdateInterface : IpcService { - private Dictionary _commands; + private Dictionary m_Commands; - public override IReadOnlyDictionary Commands => _commands; + public override IReadOnlyDictionary Commands => m_Commands; public ISystemUpdateInterface() { - _commands = new Dictionary + m_Commands = new Dictionary() { //... }; diff --git a/Ryujinx.HLE/HOS/Services/Ns/IVulnerabilityManagerInterface.cs b/Ryujinx.HLE/HOS/Services/Ns/IVulnerabilityManagerInterface.cs index 922703ec..cff334c0 100644 --- a/Ryujinx.HLE/HOS/Services/Ns/IVulnerabilityManagerInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Ns/IVulnerabilityManagerInterface.cs @@ -5,13 +5,13 @@ namespace Ryujinx.HLE.HOS.Services.Ns { class IVulnerabilityManagerInterface : IpcService { - private Dictionary _commands; + private Dictionary m_Commands; - public override IReadOnlyDictionary Commands => _commands; + public override IReadOnlyDictionary Commands => m_Commands; public IVulnerabilityManagerInterface() { - _commands = new Dictionary + m_Commands = new Dictionary() { //... }; -- cgit v1.2.3