From a0398f0b30dd1ce4b69341c96cbbc2aecf08e5aa Mon Sep 17 00:00:00 2001 From: refraction Date: Fri, 19 Mar 2010 02:36:14 +0000 Subject: [PATCH] Small nasty loop my recent changes got me in to, fixed now :P git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2746 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/IPU/IPU.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/IPU/IPU.cpp b/pcsx2/IPU/IPU.cpp index 428cbe3cd5..c541ee83bc 100644 --- a/pcsx2/IPU/IPU.cpp +++ b/pcsx2/IPU/IPU.cpp @@ -25,6 +25,7 @@ #include "IPU.h" #include "yuv2rgb.h" #include "Vif.h" +#include "Gif.h" // Zero cycle IRQ schedules aren't really good, but the IPU uses them. // Better to throw the IRQ inline: @@ -1308,7 +1309,7 @@ static __forceinline bool ipuDmacSrcChain(DMACh *tag, tDMA_TAG *ptag) static __forceinline void flushGIF() { - while(gif->chcr.STR && (vif1Regs->mskpath3 == 0)) + while(gif->chcr.STR && (vif1Regs->mskpath3 == 0) && Path3progress != STOPPED_MODE) { GIF_LOG("Flushing gif chcr %x tadr %x madr %x qwc %x", gif->chcr._u32, gif->tadr, gif->madr, gif->qwc); gsInterrupt();