diff --git a/src/Cafe/HW/Latte/Core/LatteBufferCache.cpp b/src/Cafe/HW/Latte/Core/LatteBufferCache.cpp index de18df33..a561a20c 100644 --- a/src/Cafe/HW/Latte/Core/LatteBufferCache.cpp +++ b/src/Cafe/HW/Latte/Core/LatteBufferCache.cpp @@ -776,9 +776,8 @@ private: { TreeNode* treeNodeParent = (treeNode->parentNodeIndex != INVALID_NODE_INDEX) ? &m_treeNodes[treeNode->parentNodeIndex] : nullptr; ReleaseTreeNode(treeNode, true); - if (treeNodeParent && treeNodeParent->usedCount > 0) - PropagateMinValue(treeNodeParent); - // note - this will never shrink the tree, since there is at least one left or right neighbor + if (treeNodeParent) + CollapseNode(treeNodeParent, depth - 1); return; } // todo - redistribute values