diff options
author | notaz | 2011-10-24 23:02:51 +0300 |
---|---|---|
committer | notaz | 2011-10-30 23:48:08 +0200 |
commit | 5b8c000f969c365d48418781d8f88f9c58d65611 (patch) | |
tree | d6419e8863d536b56e9284aa00f4e873b6de62d2 /libpcsxcore/psxcounters.c | |
parent | d25604ca7b315121ec12f00d042ee87e4a0f3ecb (diff) | |
download | pcsx_rearmed-5b8c000f969c365d48418781d8f88f9c58d65611.tar.gz pcsx_rearmed-5b8c000f969c365d48418781d8f88f9c58d65611.tar.bz2 pcsx_rearmed-5b8c000f969c365d48418781d8f88f9c58d65611.zip |
make root counters use generic event scheduling code
simplifies event handling code a bit
Diffstat (limited to 'libpcsxcore/psxcounters.c')
-rw-r--r-- | libpcsxcore/psxcounters.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 6781c29..3f6e139 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -176,6 +176,9 @@ void psxRcntSet() psxNextCounter = countToUpdate; } } + + psxRegs.interrupt |= (1 << PSXINT_RCNT); + new_dyna_set_event(PSXINT_RCNT, psxNextCounter); } /******************************************************************************/ |