microVU: fix block clearing regression

This commit is contained in:
Ty Lamontagne 2024-09-16 16:18:17 -04:00 committed by Ty
parent 4c267c4206
commit c82671fce4
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ void mVUsetupRange(microVU& mVU, s32 pc, bool isStartPC)
{
if (((it->start >= rStart) && (it->start <= rEnd)) || ((it->end >= rStart) && (it->end <= rEnd))) // Starts after this prog but starts before the end of current prog
{
rStart = std::min(it->start, rStart); // Choose the earlier start
rEnd = std::max(it->end, rEnd);
mVUrange.start = rStart = std::min(it->start, rStart); // Choose the earlier start
mVUrange.end = rEnd = std::max(it->end, rEnd);
it = ranges->erase(it);
}
else