summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vegas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vegas.cpp')
-rw-r--r--src/mame/drivers/vegas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/vegas.cpp b/src/mame/drivers/vegas.cpp
index 50d6be6dc36..9536fd91425 100644
--- a/src/mame/drivers/vegas.cpp
+++ b/src/mame/drivers/vegas.cpp
@@ -1770,9 +1770,9 @@ MACHINE_CONFIG_START(vegas_state::vegascore)
MCFG_DEVICE_MODIFY(PCI_ID_VIDEO":voodoo")
MCFG_VOODOO_VBLANK_CB(WRITELINE(*this, vegas_state, vblank_assert))
- MCFG_DEVICE_ADD(m_timekeeper, M48T37, 0)
- MCFG_M48T37_RESET_HANDLER(WRITELINE(*this, vegas_state, watchdog_reset))
- MCFG_M48T37_IRQ_HANDLER(WRITELINE(*this, vegas_state, watchdog_irq))
+ M48T37(config, m_timekeeper);
+ m_timekeeper->reset_cb().set(FUNC(vegas_state::watchdog_reset));
+ m_timekeeper->irq_cb().set(FUNC(vegas_state::watchdog_irq));
MCFG_SMC91C94_ADD(m_ethernet)
MCFG_SMC91C94_IRQ_CALLBACK(WRITELINE(*this, vegas_state, ethernet_interrupt))