summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mb3773.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mb3773.cpp')
-rw-r--r--src/devices/machine/mb3773.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/mb3773.cpp b/src/devices/machine/mb3773.cpp
index 948fdd7a75e..50ea4ed4e39 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,7 +56,7 @@ 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");
@@ -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 )
{