summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/harddriv.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-12-04 19:29:05 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-12-04 19:29:05 +0100
commitf91bbc9c7bfaad52324ebfcfc33cb6b4146274da (patch)
treea5eb81bf603f953905107b51164c32b84b6a2f9a /src/mame/drivers/harddriv.cpp
parent805699c0310c1a84825bc9e91aa9aafe258a3845 (diff)
src/mame: more misc MCFG removal (nw)
Diffstat (limited to 'src/mame/drivers/harddriv.cpp')
-rw-r--r--src/mame/drivers/harddriv.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/harddriv.cpp b/src/mame/drivers/harddriv.cpp
index f4f866cb8b3..ba205a2d536 100644
--- a/src/mame/drivers/harddriv.cpp
+++ b/src/mame/drivers/harddriv.cpp
@@ -1461,7 +1461,7 @@ MACHINE_CONFIG_START(harddriv_state::driver_nomsp)
MCFG_DEVICE_PROGRAM_MAP(driver_68k_map)
MCFG_DEVICE_PERIODIC_INT_DRIVER(harddriv_state, hd68k_irq_gen, HARDDRIV_MASTER_CLOCK/16/16/16/16/2)
- MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 117, true)
+ SLAPSTIC(config, m_slapstic_device, 117, true);
WATCHDOG_TIMER(config, "watchdog");
@@ -2085,8 +2085,7 @@ MACHINE_CONFIG_START(harddriv_new_state::racedriv_panorama_machine)
MCFG_MC68681_A_TX_CALLBACK(WRITELINE(*this, harddriv_new_state, tx_a))
// boots with 'PROGRAM OK' when using standard Hard Drivin' board type (needs 137412-115 slapstic)
- MCFG_DEVICE_MODIFY("mainpcb:slapstic")
- MCFG_SLAPSTIC_NUM(115)
+ subdevice<atari_slapstic_device>("mainpcb:slapstic")->set_chipnum(115);
MCFG_TIMER_DRIVER_ADD_PERIODIC("hack_timer", harddriv_new_state, hack_timer, attotime::from_hz(60))
// MCFG_QUANTUM_TIME(attotime::from_hz(60000))