Naming conventions

This commit is contained in:
Alex Barney
2018-12-01 14:01:59 -06:00
parent 8faae5612d
commit 77972140a6
286 changed files with 11867 additions and 11845 deletions

View File

@ -6,29 +6,29 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
{
class IParentalControlService : IpcService
{
private Dictionary<int, ServiceProcessRequest> m_Commands;
private Dictionary<int, ServiceProcessRequest> _commands;
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
private bool Initialized = false;
private bool _initialized = false;
private bool NeedInitialize;
private bool _needInitialize;
public IParentalControlService(bool NeedInitialize = true)
public IParentalControlService(bool needInitialize = true)
{
m_Commands = new Dictionary<int, ServiceProcessRequest>()
_commands = new Dictionary<int, ServiceProcessRequest>()
{
{ 1, Initialize }
};
this.NeedInitialize = NeedInitialize;
this._needInitialize = needInitialize;
}
public long Initialize(ServiceCtx Context)
public long Initialize(ServiceCtx context)
{
if (NeedInitialize && !Initialized)
if (_needInitialize && !_initialized)
{
Initialized = true;
_initialized = true;
}
else
{