Mercurial > audlegacy-plugins
changeset 2959:95d7d8546e7b
Unbreak PS2 IRQ timings...
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Wed, 15 Oct 2008 15:27:43 -0500 |
parents | 6d8892d78ded |
children | fe2ba1a712cd |
files | src/psf2/psx.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {