aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Memory/RangeList.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Memory/RangeList.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/Ryujinx.Graphics.Gpu/Memory/RangeList.cs b/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
index 072fdfe8..e3435292 100644
--- a/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
+++ b/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
@@ -6,8 +6,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
{
private List<T> _items;
- public int Count => _items.Count;
-
public RangeList()
{
_items = new List<T>();
@@ -57,20 +55,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
return false;
}
- public bool CanExitEarly(ulong address, ulong size)
- {
- int index = BinarySearch(address, size);
-
- if (index >= 0)
- {
- T item = _items[index];
-
- return address >= item.Address && address + size <= item.Address + item.Size;
- }
-
- return false;
- }
-
public T FindFirstOverlap(T item)
{
return FindFirstOverlap(item.Address, item.Size);