diff options
Diffstat (limited to 'src/mame/drivers/globalfr.cpp')
-rw-r--r-- | src/mame/drivers/globalfr.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/globalfr.cpp b/src/mame/drivers/globalfr.cpp index 80a68815b31..439456c3b08 100644 --- a/src/mame/drivers/globalfr.cpp +++ b/src/mame/drivers/globalfr.cpp @@ -68,13 +68,14 @@ INPUT_PORTS_END /******************************************************************************/ -MACHINE_CONFIG_START(globalfr_state::globalfr) +void globalfr_state::globalfr(machine_config &config) +{ /* basic machine hardware */ - MCFG_DEVICE_ADD("maincpu", M37702S1, 4000000) - MCFG_DEVICE_PROGRAM_MAP(globalfr_map) - MCFG_S16LF01_ADD("vfd",0) + M37702S1(config, m_maincpu, 4000000); + m_maincpu->set_addrmap(AS_PROGRAM, &globalfr_state::globalfr_map); + S16LF01(config, m_vfd); config.set_default_layout(layout_globalfr); -MACHINE_CONFIG_END +} /******************************************************************************/ |