From 43dbbb050f97992bb2f6f5c5a9a2be71987c87b7 Mon Sep 17 00:00:00 2001 From: refraction Date: Wed, 17 Jun 2009 17:49:01 +0000 Subject: [PATCH] Fix for Tekken Tag Issue 271 git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1379 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/Gif.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pcsx2/Gif.cpp b/pcsx2/Gif.cpp index ac18745ca9..cb884ed0a1 100644 --- a/pcsx2/Gif.cpp +++ b/pcsx2/Gif.cpp @@ -535,6 +535,12 @@ void gifMFIFOInterrupt() mfifocycles = 0; if(Path3progress == 2) psHu32(GIF_STAT)&= ~(GIF_STAT_APATH3 | GIF_STAT_OPH); // OPH=0 | APATH=0 + if((spr0->chcr & 0x100) && spr0->qwc == 0) + { + spr0->chcr &= ~0x100; + hwDmacIrq(DMAC_FROM_SPR); + } + if (!(gif->chcr & 0x100)) { Console::WriteLn("WTF GIFMFIFO"); cpuRegs.interrupt &= ~(1 << 11); @@ -546,13 +552,7 @@ void gifMFIFOInterrupt() //GIF_LOG("Waiting VU %x, PATH2 %x, GIFMODE %x Progress %x", psHu32(GIF_STAT) & 0x100, (vif1.cmd & 0x7f), psHu32(GIF_MODE), Path3progress); CPU_INT(11,mfifocycles); return; - } - - if((spr0->chcr & 0x100) && spr0->qwc == 0) - { - spr0->chcr &= ~0x100; - hwDmacIrq(DMAC_FROM_SPR); - } + } if(gifstate != GIF_STATE_STALL) { if(gifqwc <= 0) {