From c43412948f018e304b845f3a2a49ba931b557a79 Mon Sep 17 00:00:00 2001 From: msakhtar Date: Sun, 12 Apr 2009 23:31:59 +0000 Subject: [PATCH] Added a check to to clear QWC register if the upper 16bits are set. This fixes most of the broken backgrounds in movies. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@965 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/IPU/IPU.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/IPU/IPU.cpp b/pcsx2/IPU/IPU.cpp index 748aa2fcb4..8c9ca709b9 100644 --- a/pcsx2/IPU/IPU.cpp +++ b/pcsx2/IPU/IPU.cpp @@ -1404,8 +1404,6 @@ int IPU1dma() return totalqwc; } - g_nDMATransfer &= ~(IPU_DMA_ACTV1 | IPU_DMA_DOTIE1); - if ((ipu1dma->chcr&0xc) == 0) { IPU_INT_TO(totalqwc*BIAS); @@ -1449,6 +1447,8 @@ int IPU1dma() return totalqwc; } } + + g_nDMATransfer &= ~(IPU_DMA_ACTV1 | IPU_DMA_DOTIE1); } if ((ipu1dma->chcr & 0xc) == 0 && ipu1dma->qwc == 0) // Normal Mode