Adjusting the previous VIF interrupt cycle change, so it now checks for a known to be slow operation and gives it a bigger delay.

Timesplitters 2 works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2553 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-02-02 08:45:36 +00:00
parent 1fd51a635e
commit 3ab89904e4
1 changed files with 4 additions and 1 deletions

View File

@ -426,7 +426,10 @@ __forceinline void vif1Interrupt()
if (vif1.inprogress & 0x1)
{
_VIF1chain();
CPU_INT(DMAC_VIF1, /*g_vifCycles*/ VifCycleVoodoo);
// VIF_NORMAL_FROM_MEM_MODE is a very slow operation.
// Timesplitters 2 depends on this beeing a bit higher than 128.
if (vif1.dmamode == VIF_NORMAL_FROM_MEM_MODE ) CPU_INT(DMAC_VIF1, 1024);
else CPU_INT(DMAC_VIF1, /*g_vifCycles*/ VifCycleVoodoo);
return;
}