diff options
Diffstat (limited to 'src/mame/machine/taitoio.cpp')
-rw-r--r-- | src/mame/machine/taitoio.cpp | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/mame/machine/taitoio.cpp b/src/mame/machine/taitoio.cpp index 200ad1a8a98..24d6d7fea15 100644 --- a/src/mame/machine/taitoio.cpp +++ b/src/mame/machine/taitoio.cpp @@ -112,9 +112,10 @@ void tc0040ioc_device::device_reset() // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(tc0040ioc_device::device_add_mconfig) - MCFG_WATCHDOG_ADD("watchdog") -MACHINE_CONFIG_END +void tc0040ioc_device::device_add_mconfig(machine_config &config) +{ + WATCHDOG_TIMER(config, m_watchdog); +} /***************************************************************************** DEVICE HANDLERS @@ -255,10 +256,11 @@ void tc0220ioc_device::device_reset() // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(tc0220ioc_device::device_add_mconfig) - MCFG_WATCHDOG_ADD("watchdog") -// MCFG_WATCHDOG_TIME_INIT(attotime::from_msec(3200)) -MACHINE_CONFIG_END +void tc0220ioc_device::device_add_mconfig(machine_config &config) +{ + WATCHDOG_TIMER(config, m_watchdog); +// m_watchdog->set_time(attotime::from_msec(3200)); +} /***************************************************************************** DEVICE HANDLERS @@ -372,9 +374,10 @@ void tc0510nio_device::device_reset() // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(tc0510nio_device::device_add_mconfig) - MCFG_WATCHDOG_ADD("watchdog") -MACHINE_CONFIG_END +void tc0510nio_device::device_add_mconfig(machine_config &config) +{ + WATCHDOG_TIMER(config, m_watchdog); +} /***************************************************************************** DEVICE HANDLERS @@ -511,9 +514,10 @@ void tc0640fio_device::device_reset() // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(tc0640fio_device::device_add_mconfig) - MCFG_WATCHDOG_ADD("watchdog") -MACHINE_CONFIG_END +void tc0640fio_device::device_add_mconfig(machine_config &config) +{ + WATCHDOG_TIMER(config, m_watchdog); +} /***************************************************************************** |