VIF: Fixed a bug which caused PATH3 masking to fail if there was an IRQ on the FlushA command while it needed to wait. Fixes Futurama Issue 1343

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5443 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2012-10-31 22:12:38 +00:00
parent c4af005f0b
commit 159c4ba138
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ __fi void vif0Interrupt()
if (!(vif0ch.chcr.STR)) Console.WriteLn("vif0 running when CHCR == %x", vif0ch.chcr._u32);
if (vif0.irq && vif0.tag.size == 0)
if (vif0.irq && vif0.tag.size == 0 && vif0.cmd == 0)
{
vif0Regs.stat.INT = true;
hwIntcIrq(VIF0intc);

View File

@ -287,7 +287,7 @@ __fi void vif1Interrupt()
}
if (!vif1ch.chcr.STR) Console.WriteLn("Vif1 running when CHCR == %x", vif1ch.chcr._u32);
if (vif1.irq && vif1.tag.size == 0)
if (vif1.irq && vif1.tag.size == 0 &&vif1.cmd == 0)
{
VIF_LOG("VIF IRQ Firing");
vif1Regs.stat.INT = true;