summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/chicago.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/chicago.cpp')
-rw-r--r--src/mame/drivers/chicago.cpp23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/mame/drivers/chicago.cpp b/src/mame/drivers/chicago.cpp
index aa26674789a..14b2d545572 100644
--- a/src/mame/drivers/chicago.cpp
+++ b/src/mame/drivers/chicago.cpp
@@ -94,21 +94,20 @@ void chicago_state::video_start()
{
}
-void chicago_state::chicago(machine_config &config)
-{
+MACHINE_CONFIG_START(chicago_state::chicago)
+
/* basic machine hardware */
- NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK);
- m_maincpu->set_constructor(netlist_chicago);
+ MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
+ MCFG_NETLIST_SETUP(chicago)
/* video hardware */
- SCREEN(config, "screen", SCREEN_TYPE_RASTER);
- FIXFREQ(config, m_video).set_screen("screen");
- m_video->set_monitor_clock(MASTER_CLOCK);
- m_video->set_horz_params(H_TOTAL-67,H_TOTAL-40,H_TOTAL-8,H_TOTAL);
- 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);
-}
+ MCFG_FIXFREQ_ADD("fixfreq", "screen")
+ MCFG_FIXFREQ_MONITOR_CLOCK(MASTER_CLOCK)
+ MCFG_FIXFREQ_HORZ_PARAMS(H_TOTAL-67,H_TOTAL-40,H_TOTAL-8,H_TOTAL)
+ MCFG_FIXFREQ_VERT_PARAMS(V_TOTAL-22,V_TOTAL-19,V_TOTAL-12,V_TOTAL)
+ MCFG_FIXFREQ_FIELDCOUNT(1)
+ MCFG_FIXFREQ_SYNC_THRESHOLD(0.30)
+MACHINE_CONFIG_END
/***************************************************************************