From 843650e79ecf02b2234728f5d9ab34767da4242b Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 22 Dec 2020 14:12:27 +0000 Subject: [PATCH] VIF: Mask VU program address on MSCAL/MSCNT instructions --- pcsx2/Vif_Codes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Vif_Codes.cpp b/pcsx2/Vif_Codes.cpp index 73232f2831..91da34838c 100644 --- a/pcsx2/Vif_Codes.cpp +++ b/pcsx2/Vif_Codes.cpp @@ -94,7 +94,7 @@ static __fi void vuExecMicro(int idx, u32 addr) { } GetVifX.queued_program = true; - GetVifX.queued_pc = addr; + GetVifX.queued_pc = addr & (idx ? 0x7ffu : 0x1ffu);; GetVifX.unpackcalls = 0; if (!idx || (!THREAD_VU1 && !INSTANT_VU1))