mirror of https://github.com/PCSX2/pcsx2.git
VIF: Fix for Warship Gunner 2 Issue 1079 . On VU executes immediately followed by an unpack we will execute it immediately. I didn't look too deeply in to this but the game doesn't like the delays. Baldurs Gate still happy though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5745 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
136935c22f
commit
fc4be4f2cc
|
@ -367,6 +367,14 @@ vifOp(vifCode_MSCAL) {
|
|||
vuExecMicro(idx, (u16)(vifXRegs.code) << 3);
|
||||
vifX.cmd = 0;
|
||||
vifX.pass = 0;
|
||||
if(GetVifX.vifpacketsize > 1)
|
||||
{
|
||||
//Warship Gunner 2 has a rather big dislike for the delays
|
||||
if(((data[1] >> 24) & 0x60) == 0x60) // Immediate following Unpack
|
||||
{
|
||||
vifExecQueue(idx);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pass3 { VifCodeLog("MSCAL"); }
|
||||
|
|
Loading…
Reference in New Issue