From 3ea091f6f12cd4e462ab6aed701d8e59505c9669 Mon Sep 17 00:00:00 2001 From: Ty Lamontagne Date: Mon, 16 Sep 2024 16:18:17 -0400 Subject: [PATCH] microVU: fix block clearing regression --- pcsx2/x86/microVU_Compile.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/x86/microVU_Compile.inl b/pcsx2/x86/microVU_Compile.inl index 8084d581d4367..97df37b080799 100644 --- a/pcsx2/x86/microVU_Compile.inl +++ b/pcsx2/x86/microVU_Compile.inl @@ -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