aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/Memory/KMemoryBlockAllocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/Memory/KMemoryBlockAllocator.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/Memory/KMemoryBlockAllocator.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/Memory/KMemoryBlockAllocator.cs b/Ryujinx.HLE/HOS/Kernel/Memory/KMemoryBlockAllocator.cs
deleted file mode 100644
index ae68bf39..00000000
--- a/Ryujinx.HLE/HOS/Kernel/Memory/KMemoryBlockAllocator.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-namespace Ryujinx.HLE.HOS.Kernel.Memory
-{
- class KMemoryBlockAllocator
- {
- private ulong _capacityElements;
-
- public int Count { get; set; }
-
- public KMemoryBlockAllocator(ulong capacityElements)
- {
- _capacityElements = capacityElements;
- }
-
- public bool CanAllocate(int count)
- {
- return (ulong)(Count + count) <= _capacityElements;
- }
- }
-} \ No newline at end of file