mirror of https://github.com/PCSX2/pcsx2.git
VIF: Only enable reverse FIFO hack if VIF1 is still active
This commit is contained in:
parent
407a64c118
commit
97bfe08c04
|
@ -265,9 +265,12 @@ __fi void vif1STAT(u32 value)
|
||||||
//then proceeds to reverse the dma before we have even done it ourselves. So lets just make sure VIF is ready :)
|
//then proceeds to reverse the dma before we have even done it ourselves. So lets just make sure VIF is ready :)
|
||||||
if (vif1ch.qwc > 0 || isStalled == false)
|
if (vif1ch.qwc > 0 || isStalled == false)
|
||||||
{
|
{
|
||||||
vif1ch.qwc = 0;
|
if (vif1ch.chcr.STR)
|
||||||
hwDmacIrq(DMAC_VIF1);
|
{
|
||||||
vif1ch.chcr.STR = false;
|
vif1ch.qwc = 0;
|
||||||
|
hwDmacIrq(DMAC_VIF1);
|
||||||
|
vif1ch.chcr.STR = false;
|
||||||
|
}
|
||||||
cpuRegs.interrupt &= ~((1 << DMAC_VIF1) | (1 << DMAC_MFIFO_VIF));
|
cpuRegs.interrupt &= ~((1 << DMAC_VIF1) | (1 << DMAC_MFIFO_VIF));
|
||||||
}
|
}
|
||||||
//This is actually more important for our handling, else the DMA for reverse fifo doesnt start properly.
|
//This is actually more important for our handling, else the DMA for reverse fifo doesnt start properly.
|
||||||
|
|
Loading…
Reference in New Issue