mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 15:00:48 -07:00
Naming conventions
This commit is contained in:
@ -2,30 +2,30 @@ namespace Ryujinx.HLE.HOS.Kernel
|
||||
{
|
||||
class KClientPort : KSynchronizationObject
|
||||
{
|
||||
private int SessionsCount;
|
||||
private int CurrentCapacity;
|
||||
private int MaxSessions;
|
||||
private int _sessionsCount;
|
||||
private int _currentCapacity;
|
||||
private int _maxSessions;
|
||||
|
||||
private KPort Parent;
|
||||
private KPort _parent;
|
||||
|
||||
public KClientPort(Horizon System) : base(System) { }
|
||||
public KClientPort(Horizon system) : base(system) { }
|
||||
|
||||
public void Initialize(KPort Parent, int MaxSessions)
|
||||
public void Initialize(KPort parent, int maxSessions)
|
||||
{
|
||||
this.MaxSessions = MaxSessions;
|
||||
this.Parent = Parent;
|
||||
this._maxSessions = maxSessions;
|
||||
this._parent = parent;
|
||||
}
|
||||
|
||||
public new static KernelResult RemoveName(Horizon System, string Name)
|
||||
public new static KernelResult RemoveName(Horizon system, string name)
|
||||
{
|
||||
KAutoObject FoundObj = KAutoObject.FindNamedObject(System, Name);
|
||||
KAutoObject foundObj = KAutoObject.FindNamedObject(system, name);
|
||||
|
||||
if (!(FoundObj is KClientPort))
|
||||
if (!(foundObj is KClientPort))
|
||||
{
|
||||
return KernelResult.NotFound;
|
||||
}
|
||||
|
||||
return KAutoObject.RemoveName(System, Name);
|
||||
return KAutoObject.RemoveName(system, name);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user