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,18 +2,18 @@ namespace Ryujinx.HLE.HOS.Kernel
|
||||
{
|
||||
class KMemoryBlockAllocator
|
||||
{
|
||||
private ulong CapacityElements;
|
||||
private ulong _capacityElements;
|
||||
|
||||
public int Count { get; set; }
|
||||
|
||||
public KMemoryBlockAllocator(ulong CapacityElements)
|
||||
public KMemoryBlockAllocator(ulong capacityElements)
|
||||
{
|
||||
this.CapacityElements = CapacityElements;
|
||||
this._capacityElements = capacityElements;
|
||||
}
|
||||
|
||||
public bool CanAllocate(int Count)
|
||||
public bool CanAllocate(int count)
|
||||
{
|
||||
return (ulong)(this.Count + Count) <= CapacityElements;
|
||||
return (ulong)(this.Count + count) <= _capacityElements;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user