summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tispellb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tispellb.cpp')
-rw-r--r--src/mame/drivers/tispellb.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/tispellb.cpp b/src/mame/drivers/tispellb.cpp
index e083579e4e8..81a4a29d9a5 100644
--- a/src/mame/drivers/tispellb.cpp
+++ b/src/mame/drivers/tispellb.cpp
@@ -369,8 +369,8 @@ void tispellb_state::rev1(machine_config &config)
}
-MACHINE_CONFIG_START(tispellb_state::rev2)
-
+void tispellb_state::rev2(machine_config &config)
+{
/* basic machine hardware */
tms0270_cpu_device &tms(TMS0270(config, m_maincpu, 350000)); // approximation
tms.k().set(FUNC(tispellb_state::main_read_k));
@@ -387,9 +387,8 @@ MACHINE_CONFIG_START(tispellb_state::rev2)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
-MACHINE_CONFIG_END
+ SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25);
+}