mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-12 19:37:06 +00:00
Revert NullReferenceException change in IntervalTree.cs
* Not technically needed because newNode.Parent is the same value as parent
This commit is contained in:
parent
51b32981b6
commit
0487b781dc
1 changed files with 2 additions and 5 deletions
|
|
@ -316,16 +316,13 @@ namespace ARMeilleure.Translation
|
|||
{
|
||||
_root = newNode;
|
||||
}
|
||||
else if (parent != null && start.CompareTo(parent.Start) < 0)
|
||||
else if (start.CompareTo(parent.Start) < 0)
|
||||
{
|
||||
parent.Left = newNode;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (parent != null)
|
||||
{
|
||||
parent.Right = newNode;
|
||||
}
|
||||
parent.Right = newNode;
|
||||
}
|
||||
|
||||
PropagateIncrease(newNode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue