Fix a screwup with the Drakan fix. Also commented it with the nice voodoocycles tag :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2470 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-01-22 11:20:04 +00:00
parent b76d7c164b
commit 4bf1b1feaf
1 changed files with 4 additions and 2 deletions

View File

@ -103,7 +103,7 @@ static u32 WRITERING_DMA(u32 *pMem, u32 qwc)
memcpy_aligned(pgsmem, pMem, size<<4);
GetMTGS().SendDataPacket();
return size>>2;
return size;
}
static u32 WRITERING_DMA(tDMA_TAG *pMem, u32 qwc)
@ -136,7 +136,9 @@ static __forceinline void GIFchain()
{
Registers::Freeze();
// qwc check now done outside this function
/*if (gif->qwc)*/ gscycles+= _GIFchain(); /* guessing */
// Voodoocycles
// >> 2 so Drakan and Tekken 5 don't mess up in some PATH3 transfer. Cycles to interrupt were getting huge..
/*if (gif->qwc)*/ gscycles+= ( _GIFchain() >> 2 ); /* guessing */
Registers::Thaw();
}