diff --git a/pcsx2/IPU/IPUdma.cpp b/pcsx2/IPU/IPUdma.cpp index e347f2681d285..a4a1cbfb0547f 100644 --- a/pcsx2/IPU/IPUdma.cpp +++ b/pcsx2/IPU/IPUdma.cpp @@ -114,7 +114,7 @@ int IPU1dma() //We need to make sure GIF has flushed before sending IPU data, it seems to REALLY screw FFX videos - if(!ipu1ch.chcr.STR || IPU1Status.DMAMode == 2) + if(!ipu1ch.chcr.STR || IPU1Status.DMAMode == DMA_MODE_INTERLEAVE) { //We MUST stop the IPU from trying to fill the FIFO with more data if the DMA has been suspended //if we don't, we risk causing the data to go out of sync with the fifo and we end up losing some! @@ -409,6 +409,6 @@ IPU_FORCEINLINE void ipu1Interrupt() DMA_LOG("IPU1 DMA End"); ipu1ch.chcr.STR = false; - IPU1Status.DMAMode = 2; + IPU1Status.DMAMode = DMA_MODE_INTERLEAVE; hwDmacIrq(DMAC_TO_IPU); } diff --git a/pcsx2/IPU/IPUdma.h b/pcsx2/IPU/IPUdma.h index e16ab10c91416..44a2dc056535b 100644 --- a/pcsx2/IPU/IPUdma.h +++ b/pcsx2/IPU/IPUdma.h @@ -33,6 +33,7 @@ struct IPUStatus { #define DMA_MODE_NORMAL 0 #define DMA_MODE_CHAIN 1 +#define DMA_MODE_INTERLEAVE 2 #define IPU1_TAG_FOLLOW 0 #define IPU1_TAG_QWC 1