mirror of https://github.com/PCSX2/pcsx2.git
VIF/MTVU: Correctly increment tag addr on VIF when using MTVU
Fixes Def Jam Fight for NY when using MTVU
This commit is contained in:
parent
4595aae0de
commit
16d33f8960
|
@ -267,6 +267,7 @@ static __fi void _vifCode_MPG(int idx, u32 addr, const u32 *data, int size) {
|
||||||
|
|
||||||
if (idx && THREAD_VU1) {
|
if (idx && THREAD_VU1) {
|
||||||
vu1Thread.WriteMicroMem(addr, (u8*)data, size*4);
|
vu1Thread.WriteMicroMem(addr, (u8*)data, size*4);
|
||||||
|
vifX.tag.addr = size * 4;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@ mVUop(mVULowerOP_T3_11) { mVULowerOP_T3_11_OPCODE [((mVU.code >> 6) & 0x1f)](mX)
|
||||||
mVUop(mVUopU) { mVU_UPPER_OPCODE [ (mVU.code & 0x3f) ](mX); } // Gets Upper Opcode
|
mVUop(mVUopU) { mVU_UPPER_OPCODE [ (mVU.code & 0x3f) ](mX); } // Gets Upper Opcode
|
||||||
mVUop(mVUopL) { mVULOWER_OPCODE [ (mVU.code >> 25) ](mX); } // Gets Lower Opcode
|
mVUop(mVUopL) { mVULOWER_OPCODE [ (mVU.code >> 25) ](mX); } // Gets Lower Opcode
|
||||||
mVUop(mVUunknown) {
|
mVUop(mVUunknown) {
|
||||||
pass1 { mVUinfo.isBadOp = true; }
|
pass1 { if (mVU.code != 0x8000033c) mVUinfo.isBadOp = true; }
|
||||||
pass2 { if(mVU.code != 0x8000033c) Console.Error("microVU%d: Unknown Micro VU opcode called (%x) [%04x]\n", getIndex, mVU.code, xPC); }
|
pass2 { if(mVU.code != 0x8000033c) Console.Error("microVU%d: Unknown Micro VU opcode called (%x) [%04x]\n", getIndex, mVU.code, xPC); }
|
||||||
pass3 { mVUlog("Unknown", mVU.code); }
|
pass3 { mVUlog("Unknown", mVU.code); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue