diff options
author | andreasnaive <andreasnaive@gmail.com> | 2019-03-25 23:13:40 +0100 |
---|---|---|
committer | andreasnaive <andreasnaive@gmail.com> | 2019-03-25 23:13:40 +0100 |
commit | b380514764cf857469bae61c11143a19f79a74c5 (patch) | |
tree | 63c8012e262618f08a332da31dd714281aa2c5ed /src/mame/drivers/ecoinf1.cpp | |
parent | c24473ddff715ecec2e258a6eb38960cf8c8e98e (diff) |
Revert "conflict resolution (nw)"
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing
changes made to 009cba4fb8102102168ef32870892438327f3705.
Diffstat (limited to 'src/mame/drivers/ecoinf1.cpp')
-rw-r--r-- | src/mame/drivers/ecoinf1.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/drivers/ecoinf1.cpp b/src/mame/drivers/ecoinf1.cpp index f0853e9542c..39df2f05dab 100644 --- a/src/mame/drivers/ecoinf1.cpp +++ b/src/mame/drivers/ecoinf1.cpp @@ -253,13 +253,12 @@ static INPUT_PORTS_START( ecoinf1 ) INPUT_PORTS_END -void ecoinf1_state::ecoinf1_older(machine_config &config) -{ +MACHINE_CONFIG_START(ecoinf1_state::ecoinf1_older) /* basic machine hardware */ - Z80(config, m_maincpu, 4000000); - m_maincpu->set_addrmap(AS_PROGRAM, &ecoinf1_state::older_memmap); - m_maincpu->set_addrmap(AS_IO, &ecoinf1_state::older_portmap); -} + MCFG_DEVICE_ADD("maincpu", Z80,4000000) + MCFG_DEVICE_PROGRAM_MAP(older_memmap) + MCFG_DEVICE_IO_MAP(older_portmap) +MACHINE_CONFIG_END /******************************************************************************************************************** |