aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/Collections/IntervalTree.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Common/Collections/IntervalTree.cs')
-rw-r--r--src/Ryujinx.Common/Collections/IntervalTree.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Common/Collections/IntervalTree.cs b/src/Ryujinx.Common/Collections/IntervalTree.cs
index 2ea260a5..baab579e 100644
--- a/src/Ryujinx.Common/Collections/IntervalTree.cs
+++ b/src/Ryujinx.Common/Collections/IntervalTree.cs
@@ -192,7 +192,7 @@ namespace Ryujinx.Common.Collections
{
if (start.CompareTo(overlap.End) < 0)
{
- if (overlaps.Length >= overlapCount)
+ if (overlaps.Length <= overlapCount)
{
Array.Resize(ref overlaps, overlapCount + ArrayGrowthSize);
}