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
This commit is contained in:
refraction 2009-05-25 22:09:18 +00:00
parent a46f1538f0
commit 0900ef5420
1 changed files with 11 additions and 0 deletions

View File

@ -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;