# HG changeset patch # User William Pitcock # Date 1224102463 18000 # Node ID 95d7d8546e7b9c6a1b849310e4c867b9468d465a # Parent 6d8892d78ded5e85c98aa5f19ff48fe2306f54d9 Unbreak PS2 IRQ timings... diff -r 6d8892d78ded -r 95d7d8546e7b src/psf2/psx.c --- a/src/psf2/psx.c Wed Oct 15 15:25:08 2008 -0500 +++ b/src/psf2/psx.c Wed Oct 15 15:27:43 2008 -0500 @@ -410,6 +410,7 @@ mipscpu.op = cpu_readop32( mipscpu.pc ); +#if 0 while (mipscpu.prevpc == mipscpu.pc) { psx_hw_runcounters(); @@ -417,13 +418,13 @@ if (mips_ICount == 0) return cycles; } - +#endif // if we're not in a delay slot, update // if we're in a delay slot and the delay instruction is not NOP, update if (( mipscpu.delayr == 0 ) || ((mipscpu.delayr != 0) && (mipscpu.op != 0))) { mipscpu.prevpc = mipscpu.pc; - } + } #if 0 if (1) //psxcpu_verbose) {