aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs b/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs
index 08512e12..375685e6 100644
--- a/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs
+++ b/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs
@@ -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;
+ _capacityElements = capacityElements;
}
- public bool CanAllocate(int Count)
+ public bool CanAllocate(int count)
{
- return (ulong)(this.Count + Count) <= CapacityElements;
+ return (ulong)(Count + count) <= _capacityElements;
}
}
} \ No newline at end of file