From 97b74fa6ea81a1e213aa7bbdc8b5d7f5b2c27d83 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 22 Dec 2020 14:55:03 +0000 Subject: [PATCH] VIF: MSCNT address is -1, so don't mask it. --- pcsx2/Vif_Codes.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pcsx2/Vif_Codes.cpp b/pcsx2/Vif_Codes.cpp index 91da34838c..eac4a29ea1 100644 --- a/pcsx2/Vif_Codes.cpp +++ b/pcsx2/Vif_Codes.cpp @@ -94,7 +94,10 @@ static __fi void vuExecMicro(int idx, u32 addr) { } GetVifX.queued_program = true; - GetVifX.queued_pc = addr & (idx ? 0x7ffu : 0x1ffu);; + if ((s32)addr == -1) + GetVifX.queued_pc = addr; + else + GetVifX.queued_pc = addr & (idx ? 0x7ffu : 0x1ffu); GetVifX.unpackcalls = 0; if (!idx || (!THREAD_VU1 && !INSTANT_VU1))