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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tispellb.cpp b/src/mame/drivers/tispellb.cpp
index b91cd58736b..e083579e4e8 100644
--- a/src/mame/drivers/tispellb.cpp
+++ b/src/mame/drivers/tispellb.cpp
@@ -345,8 +345,8 @@ INPUT_PORTS_END
***************************************************************************/
-MACHINE_CONFIG_START(tispellb_state::rev1)
-
+void tispellb_state::rev1(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));
@@ -360,13 +360,13 @@ MACHINE_CONFIG_START(tispellb_state::rev1)
subcpu.o().set(FUNC(tispellb_state::sub_write_o));
subcpu.r().set(FUNC(tispellb_state::sub_write_r));
- MCFG_QUANTUM_PERFECT_CPU("maincpu")
+ config.m_perfect_cpu_quantum = subtag("maincpu");
TIMER(config, "display_decay").configure_periodic(FUNC(hh_tms1k_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_spellb);
/* no sound! */
-MACHINE_CONFIG_END
+}
MACHINE_CONFIG_START(tispellb_state::rev2)