Gif/Path3 Masking: Fixed a bug introduced in r5759 stopping SSX On Tour from loading.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5766 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2013-12-05 23:17:58 +00:00
parent 9d284d1b0c
commit 9e1717fee5
1 changed files with 3 additions and 1 deletions

View File

@ -73,7 +73,9 @@ __fi void gifInterrupt()
if(!(cpuRegs.interrupt & (1<<DMAC_VIF1)))
CPU_INT(DMAC_VIF1, 1);
if(!gifUnit.Path3Masked())
//Make sure it loops if the GIF packet is empty to prepare for the next packet
//or end if it was the end of a packet.
if(!gifUnit.Path3Masked() || gifch.qwc == 0)
CPU_INT(DMAC_GIF, 16);
return;
}