mirror of https://github.com/PCSX2/pcsx2.git
Fix some bad/flickering textures, caused by a too big GIF interrupt delay.
Fixes Drakan and a Tekken 5 game mode. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2465 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
cbb2000400
commit
ca92c6f7b2
|
@ -103,7 +103,7 @@ static u32 WRITERING_DMA(u32 *pMem, u32 qwc)
|
|||
memcpy_aligned(pgsmem, pMem, size<<4);
|
||||
|
||||
GetMTGS().SendDataPacket();
|
||||
return size;
|
||||
return size>>2;
|
||||
}
|
||||
|
||||
static u32 WRITERING_DMA(tDMA_TAG *pMem, u32 qwc)
|
||||
|
|
|
@ -171,7 +171,10 @@ __forceinline void PSX_INT( IopEventId n, s32 ecycle )
|
|||
// Exception: IRQ16 - SIO - it drops ints like crazy when handling PAD stuff.
|
||||
if( /*n!=16 &&*/ psxRegs.interrupt & (1<<n) )
|
||||
DevCon.Warning( "***** IOP > Twice-thrown int on IRQ %d", n );
|
||||
|
||||
|
||||
// 19 is CDVD read int, it's supposed to be high.
|
||||
//if (ecycle > 8192 && n != 19) DevCon.Warning( "IOP cycles high: %d, n %d", ecycle, n );
|
||||
|
||||
psxRegs.interrupt |= 1 << n;
|
||||
|
||||
psxRegs.sCycle[n] = psxRegs.cycle;
|
||||
|
|
|
@ -539,6 +539,8 @@ __forceinline void CPU_INT( u32 n, s32 ecycle)
|
|||
DevCon.Warning( "***** EE > Twice-thrown int on IRQ %d", n );
|
||||
}
|
||||
|
||||
//if (ecycle > 8192) DevCon.Warning( "EE cycles high: %d, n %d", ecycle, n );
|
||||
|
||||
cpuRegs.interrupt|= 1 << n;
|
||||
cpuRegs.sCycle[n] = cpuRegs.cycle;
|
||||
cpuRegs.eCycle[n] = ecycle;
|
||||
|
|
Loading…
Reference in New Issue