diff options
Diffstat (limited to 'src/devices/machine/mb3773.cpp')
-rw-r--r-- | src/devices/machine/mb3773.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/mb3773.cpp b/src/devices/machine/mb3773.cpp index 948fdd7a75e..126d1e0a62c 100644 --- a/src/devices/machine/mb3773.cpp +++ b/src/devices/machine/mb3773.cpp @@ -41,7 +41,7 @@ mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, de void mb3773_device::device_start() { - m_watchdog_timer = timer_alloc(); + m_watchdog_timer = timer_alloc(FUNC(mb3773_device::watchdog_expired), this); save_item( NAME(m_ck) ); } @@ -56,9 +56,9 @@ void mb3773_device::device_reset() reset_timer(); } -void mb3773_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) +TIMER_CALLBACK_MEMBER(mb3773_device::watchdog_expired) { - logerror("Reset caused by watchdog\n"); + logerror("watchdog_expired: reset issued\n"); #if WATCHDOG_DEBUG machine().debug_break(); @@ -72,7 +72,7 @@ void mb3773_device::reset_timer() m_watchdog_timer->adjust( attotime::from_seconds( 5 ) ); } -WRITE_LINE_MEMBER( mb3773_device::write_line_ck ) +void mb3773_device::write_line_ck(int state) { if( state == 0 && m_ck != 0 ) { |