summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cortex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cortex.cpp')
-rw-r--r--src/mame/drivers/cortex.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/cortex.cpp b/src/mame/drivers/cortex.cpp
index 43662ffbba3..101bb5adf95 100644
--- a/src/mame/drivers/cortex.cpp
+++ b/src/mame/drivers/cortex.cpp
@@ -184,7 +184,9 @@ MACHINE_CONFIG_START(cortex_state::cortex)
/* TMS9995 CPU @ 12.0 MHz */
// Standard variant, no overflow int
// No lines connected yet
- MCFG_TMS99xx_ADD("maincpu", TMS9995, XTAL(12'000'000), mem_map, io_map)
+ TMS9995(config, m_maincpu, XTAL(12'000'000));
+ m_maincpu->set_addrmap(AS_PROGRAM, &cortex_state::mem_map);
+ m_maincpu->set_addrmap(AS_IO, &cortex_state::io_map);
ls259_device &control(LS259(config, "control")); // IC64
//control.q_out_cb<0>().set(FUNC(cortex_state::basic_led_w));