mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
b76d7c164b
commit
4bf1b1feaf
|
@ -103,7 +103,7 @@ static u32 WRITERING_DMA(u32 *pMem, u32 qwc)
|
||||||
memcpy_aligned(pgsmem, pMem, size<<4);
|
memcpy_aligned(pgsmem, pMem, size<<4);
|
||||||
|
|
||||||
GetMTGS().SendDataPacket();
|
GetMTGS().SendDataPacket();
|
||||||
return size>>2;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
static u32 WRITERING_DMA(tDMA_TAG *pMem, u32 qwc)
|
static u32 WRITERING_DMA(tDMA_TAG *pMem, u32 qwc)
|
||||||
|
@ -136,7 +136,9 @@ static __forceinline void GIFchain()
|
||||||
{
|
{
|
||||||
Registers::Freeze();
|
Registers::Freeze();
|
||||||
// qwc check now done outside this function
|
// 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();
|
Registers::Thaw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue