diff --git a/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs b/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs index 0fbac1f4cb..924fcbff39 100644 --- a/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs +++ b/Ryujinx.HLE/HOS/Kernel/KMemoryBlockAllocator.cs @@ -2,8 +2,6 @@ namespace Ryujinx.HLE.HOS.Kernel { class KMemoryBlockAllocator { - private const int KMemoryBlockSize = 0x40; - private ulong Size; public int Count { get; set; } @@ -15,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Kernel public bool CanAllocate(int Count) { - return (ulong)(this.Count + Count) * KMemoryBlockSize <= Size; + return (ulong)(this.Count + Count) * KMemoryManager.KMemoryBlockSize <= Size; } } } \ No newline at end of file