Fixed small VIF Stalling bug which caused Max Payne to crash

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2711 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2010-03-14 01:11:08 +00:00
parent 30c0b0f923
commit 95af4c133e
1 changed files with 4 additions and 2 deletions

View File

@ -36,8 +36,10 @@ _vifT bool analyzeIbit(u32* &data, int iBit) {
if (iBit && !vifX.cmd && !vifXRegs->err.MII) {
//DevCon.WriteLn("Vif I-Bit IRQ");
vifX.irq++;
runMark<idx>(data);
return 1;
// On i-bit, the command is run, vif stalls etc,
// however if the vifcode is MASK, you do NOT stall, just send IRQ. - Max Payne shows this up.
if((vifX.cmd & 0x7f) == 0x7) return 0;
else return 1;
}
return 0;
}