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/Kernel/KMemoryBlockAllocator.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs') diff --git a/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs b/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs index 375685e6..08512e12 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) { - _capacityElements = capacityElements; + this.CapacityElements = CapacityElements; } - public bool CanAllocate(int count) + public bool CanAllocate(int Count) { - return (ulong)(Count + count) <= _capacityElements; + return (ulong)(this.Count + Count) <= CapacityElements; } } } \ No newline at end of file -- cgit v1.2.3