diff options
author | notaz | 2010-12-21 15:46:24 +0200 |
---|---|---|
committer | notaz | 2010-12-22 01:24:05 +0200 |
commit | d28b54b1d1d161b3f3acc3299c43106a022451e6 (patch) | |
tree | 2ba7ad08ffdd0651100206931f99ece3dfa490b2 /libpcsxcore/psxmem.h | |
parent | 96d9fde1230e5ae6de069ff9e4a0f16185650ab5 (diff) | |
download | pcsx_rearmed-d28b54b1d1d161b3f3acc3299c43106a022451e6.tar.gz pcsx_rearmed-d28b54b1d1d161b3f3acc3299c43106a022451e6.tar.bz2 pcsx_rearmed-d28b54b1d1d161b3f3acc3299c43106a022451e6.zip |
core: update to newer interrupt code, seems to affect timings too
pcsxr-svn commit:
Author: weimingzhi
Date: Sat Aug 7 23:52:44 2010 +0000
refactored the interrupt scheduling code a bit to make it a little
more readable than using those "magic" numbers.
Diffstat (limited to 'libpcsxcore/psxmem.h')
-rw-r--r-- | libpcsxcore/psxmem.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libpcsxcore/psxmem.h b/libpcsxcore/psxmem.h index a5c6c4a..d9fee00 100644 --- a/libpcsxcore/psxmem.h +++ b/libpcsxcore/psxmem.h @@ -138,20 +138,6 @@ void psxMemWrite16(u32 mem, u16 value); void psxMemWrite32(u32 mem, u32 value); void *psxMemPointer(u32 mem); -extern u32 event_cycles[7]; -extern u32 next_interupt; - -#define new_dyna_set_event(e, c) { \ - s32 c_ = c; \ - u32 abs_ = psxRegs.cycle + c_; \ - s32 odi_ = next_interupt - psxRegs.cycle; \ - event_cycles[e] = abs_; \ - if (c_ < odi_) { \ - /*printf("%u: next_interupt %d -> %d (%u)\n", psxRegs.cycle, odi_, c_, abs_);*/ \ - next_interupt = abs_; \ - } \ -} - #ifdef __cplusplus } #endif |