From 0900ef5420ddabbc054440915187bf75b31e6bb6 Mon Sep 17 00:00:00 2001 From: refraction Date: Mon, 25 May 2009 22:09:18 +0000 Subject: [PATCH] Added VIF wait to MFIFO, fixes Crash of the Titans graphics git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1264 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/Vif.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pcsx2/Vif.cpp b/pcsx2/Vif.cpp index 0da6e70175..73e874c9f7 100644 --- a/pcsx2/Vif.cpp +++ b/pcsx2/Vif.cpp @@ -533,6 +533,17 @@ void vifMFIFOInterrupt() { g_vifCycles = 0; + if((vif1Regs->stat & VIF1_STAT_VGW)) + { + if(gif->chcr & 0x100) + { + CPU_INT(10, 16); + return; + } + else vif1Regs->stat &= ~VIF1_STAT_VGW; + + } + if((spr0->chcr & 0x100) && spr0->qwc == 0) { spr0->chcr &= ~0x100;