summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hotstuff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hotstuff.cpp')
-rw-r--r--src/mame/drivers/hotstuff.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/hotstuff.cpp b/src/mame/drivers/hotstuff.cpp
index 8f09949a8de..6bde0ec44ac 100644
--- a/src/mame/drivers/hotstuff.cpp
+++ b/src/mame/drivers/hotstuff.cpp
@@ -121,8 +121,8 @@ MACHINE_CONFIG_START(hotstuff_state::hotstuff)
scc8530_device& scc2(SCC8530N(config, "scc2", 4915200));
scc2.out_int_callback().set_inputline(m_maincpu, M68K_IRQ_5);
- MCFG_DEVICE_ADD("rtc", MC146818, XTAL(32'768))
- MCFG_MC146818_IRQ_HANDLER(INPUTLINE("maincpu", M68K_IRQ_1))
+ MC146818(config, m_rtc, XTAL(32'768));
+ m_rtc->irq().set_inputline("maincpu", M68K_IRQ_1);
MACHINE_CONFIG_END