summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mm58174.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mm58174.h')
-rw-r--r--src/devices/machine/mm58174.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/machine/mm58174.h b/src/devices/machine/mm58174.h
index 7d592e258b8..72fbfc85502 100644
--- a/src/devices/machine/mm58174.h
+++ b/src/devices/machine/mm58174.h
@@ -23,12 +23,14 @@ public:
protected:
// device-level overrides
virtual void device_start() override;
- virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
// device_rtc_interface overrides
virtual void rtc_clock_updated(int year, int month, int day, int day_of_week, int hour, int minute, int second) override;
virtual bool rtc_feature_leap_year() const override { return true; }
+ TIMER_CALLBACK_MEMBER(clock_tick);
+ TIMER_CALLBACK_MEMBER(scheduler_sync);
+
void update_rtc();
private:
@@ -54,7 +56,7 @@ private:
int m_seconds2;
int m_tenths; /* tenths of second (BCD : 0-9) */
- emu_timer *m_increment_rtc;
+ emu_timer *m_rtc_timer;
emu_timer *m_interrupt_timer;
};