summaryrefslogtreecommitdiffstatshomepage
path: root/src/zexall
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-02-13 19:16:32 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-02-13 19:16:32 +0100
commit088c214cf75e442a0e8df566f0541571b07bcb2f (patch)
tree6796c9d1a3cf691a5260359c75f86f623afc2554 /src/zexall
parent29fa02b16ed144af43ad23cce2cbd121ddbf6b25 (diff)
misc MCFG and MACHINE_CONFIG macro removal (nw)
Diffstat (limited to 'src/zexall')
-rw-r--r--src/zexall/zexall.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/zexall/zexall.cpp b/src/zexall/zexall.cpp
index f05b20ca12f..f9fff9b2526 100644
--- a/src/zexall/zexall.cpp
+++ b/src/zexall/zexall.cpp
@@ -141,11 +141,12 @@ INPUT_PORTS_END
Machine Drivers
******************************************************************************/
-MACHINE_CONFIG_START(zexall_state::zexall)
+void zexall_state::zexall(machine_config &config)
+{
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", Z80, XTAL(3'579'545))
- MCFG_DEVICE_PROGRAM_MAP(z80_mem)
-MACHINE_CONFIG_END
+ Z80(config, m_maincpu, XTAL(3'579'545));
+ m_maincpu->set_addrmap(AS_PROGRAM, &zexall_state::z80_mem);
+}
/******************************************************************************