diff --git a/README.md b/README.md index 8c66d2de2..501807ffc 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1674. +This is the source code for early-access 1675. ## Legal Notice diff --git a/src/common/tree.h b/src/common/tree.h index 3da49e422..9d2d0df4e 100755 --- a/src/common/tree.h +++ b/src/common/tree.h @@ -322,7 +322,7 @@ void RB_INSERT_COLOR(RBHead* head, Node* elm) { template void RB_REMOVE_COLOR(RBHead* head, Node* parent, Node* elm) { Node* tmp; - while ((elm == nullptr || RB_IS_BLACK(elm)) && elm != head->Root()) { + while ((elm == nullptr || RB_IS_BLACK(elm)) && elm != head->Root() && parent != nullptr) { if (RB_LEFT(parent) == elm) { tmp = RB_RIGHT(parent); if (RB_IS_RED(tmp)) {