diff options
Diffstat (limited to 'src/mame/drivers/mpu2.cpp')
-rw-r--r-- | src/mame/drivers/mpu2.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/mpu2.cpp b/src/mame/drivers/mpu2.cpp index 914dd61b447..566df8efea1 100644 --- a/src/mame/drivers/mpu2.cpp +++ b/src/mame/drivers/mpu2.cpp @@ -74,11 +74,10 @@ INPUT_PORTS_END -void mpu2_state::mpu2(machine_config &config) -{ - M6800(config, m_maincpu, 2000000); // ? - m_maincpu->set_addrmap(AS_PROGRAM, &mpu2_state::mpu2_basemap); -} +MACHINE_CONFIG_START(mpu2_state::mpu2) + MCFG_DEVICE_ADD("maincpu", M6800, 2000000) // ? + MCFG_DEVICE_PROGRAM_MAP(mpu2_basemap) +MACHINE_CONFIG_END // technically not a 'bios' because they're all on the same board. #define MPU2_MASKROM \ |