summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/psx/rcnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/psx/rcnt.h')
-rw-r--r--src/devices/cpu/psx/rcnt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/cpu/psx/rcnt.h b/src/devices/cpu/psx/rcnt.h
index 4e44e365466..ee3e637a1e9 100644
--- a/src/devices/cpu/psx/rcnt.h
+++ b/src/devices/cpu/psx/rcnt.h
@@ -23,6 +23,8 @@ DECLARE_DEVICE_TYPE(PSX_RCNT, psxrcnt_device)
#define PSX_RC_REPEAT ( 0x40 )
#define PSX_RC_CLC ( 0x100 )
#define PSX_RC_DIV ( 0x200 )
+#define PSX_RC_REACHEDTARGET ( 0x800 )
+#define PSX_RC_REACHEDFFFF ( 0x1000 )
class psxrcnt_device : public device_t
{
@@ -41,7 +43,8 @@ protected:
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_post_load() override;
- virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
+
+ TIMER_CALLBACK_MEMBER( timer_update );
private:
struct psx_root