VIF: MSCNT address is -1, so don't mask it.

This commit is contained in:
refractionpcsx2 2020-12-22 14:55:03 +00:00
parent 843650e79e
commit 97b74fa6ea
1 changed files with 4 additions and 1 deletions

View File

@ -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))