summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segattl.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-02-22 18:18:42 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-02-22 18:18:42 +0100
commit6aa928a094a82c8b79dce199bdac8076dfc0321c (patch)
treed08d3fe54cb4e067e83087ac70f127d66d2c1dba /src/mame/drivers/segattl.cpp
parent23c11c7cb4e3bdeb0ec7f003239e573bc228ef4a (diff)
mame\drivers: removed most MCFG and MACHINE_CONFIG macros from the rest of the drivers starting with s (nw)
Diffstat (limited to 'src/mame/drivers/segattl.cpp')
-rw-r--r--src/mame/drivers/segattl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/segattl.cpp b/src/mame/drivers/segattl.cpp
index aeb4e77ea1d..9d61f5e4863 100644
--- a/src/mame/drivers/segattl.cpp
+++ b/src/mame/drivers/segattl.cpp
@@ -131,11 +131,11 @@ void segattl_state::video_start()
{
}
-MACHINE_CONFIG_START(segattl_state::segattl)
-
+void segattl_state::segattl(machine_config &config)
+{
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
- MCFG_NETLIST_SETUP(segattl)
+ NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK);
+ m_maincpu->set_constructor(netlist_segattl);
/* video hardware */
SCREEN(config, "screen", SCREEN_TYPE_RASTER);
@@ -145,7 +145,7 @@ MACHINE_CONFIG_START(segattl_state::segattl)
m_video->set_vert_params(V_TOTAL-22,V_TOTAL-19,V_TOTAL-12,V_TOTAL);
m_video->set_fieldcount(1);
m_video->set_threshold(0.30);
-MACHINE_CONFIG_END
+}
/***************************************************************************