VIF: Allow VIF1 to continue if stalled and the FIFO is reversed

This commit is contained in:
refractionpcsx2 2020-12-22 09:20:03 +00:00
parent 2c7f54134e
commit a4553e821f
1 changed files with 2 additions and 1 deletions

View File

@ -486,6 +486,7 @@ void dmaVIF1()
// Check VIF isn't stalled before starting the loop.
// Batman Vengence does something stupid and instead of cancelling a stall it tries to restart VIF, THEN check the stall
if (!vif1Regs.stat.test(VIF1_STAT_VSS | VIF1_STAT_VIS | VIF1_STAT_VFS))
// However if VIF FIFO is reversed, it can continue
if (!vif1ch.chcr.DIR || !vif1Regs.stat.test(VIF1_STAT_VSS | VIF1_STAT_VIS | VIF1_STAT_VFS))
CPU_INT(DMAC_VIF1, 4);
}