diff options
Diffstat (limited to 'src/emu/machine/rtc4543.h')
-rw-r--r-- | src/emu/machine/rtc4543.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/emu/machine/rtc4543.h b/src/emu/machine/rtc4543.h index 7c05c5f4db0..94d5bf5bdea 100644 --- a/src/emu/machine/rtc4543.h +++ b/src/emu/machine/rtc4543.h @@ -30,39 +30,39 @@ // ======================> rtc4543_device class rtc4543_device : public device_t, - public device_rtc_interface + public device_rtc_interface { public: - // construction/destruction - rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + // construction/destruction + rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - DECLARE_WRITE_LINE_MEMBER( ce_w ); - DECLARE_WRITE_LINE_MEMBER( wr_w ); - DECLARE_WRITE_LINE_MEMBER( clk_w ); - DECLARE_READ_LINE_MEMBER( data_r ); - DECLARE_WRITE_LINE_MEMBER( data_w ); + DECLARE_WRITE_LINE_MEMBER( ce_w ); + DECLARE_WRITE_LINE_MEMBER( wr_w ); + DECLARE_WRITE_LINE_MEMBER( clk_w ); + DECLARE_READ_LINE_MEMBER( data_r ); + DECLARE_WRITE_LINE_MEMBER( data_w ); protected: - // device-level overrides - virtual void device_start(); - virtual void device_reset(); - virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); + // device-level overrides + virtual void device_start(); + virtual void device_reset(); + virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); - // 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); - virtual bool rtc_feature_leap_year() { return true; } + // 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); + virtual bool rtc_feature_leap_year() { return true; } private: - int m_ce; - int m_clk; - int m_wr; - int m_data; - int m_regs[7]; - int m_curreg; - int m_bit; - - // timers - emu_timer *m_clock_timer; + int m_ce; + int m_clk; + int m_wr; + int m_data; + int m_regs[7]; + int m_curreg; + int m_bit; + + // timers + emu_timer *m_clock_timer; }; |