summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/scorpion.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-02-22 18:18:42 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-02-22 18:18:42 +0100
commit6aa928a094a82c8b79dce199bdac8076dfc0321c (patch)
treed08d3fe54cb4e067e83087ac70f127d66d2c1dba /src/mame/drivers/scorpion.cpp
parent23c11c7cb4e3bdeb0ec7f003239e573bc228ef4a (diff)
mame\drivers: removed most MCFG and MACHINE_CONFIG macros from the rest of the drivers starting with s (nw)
Diffstat (limited to 'src/mame/drivers/scorpion.cpp')
-rw-r--r--src/mame/drivers/scorpion.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/scorpion.cpp b/src/mame/drivers/scorpion.cpp
index b8b054b01c8..d88d0f09ca9 100644
--- a/src/mame/drivers/scorpion.cpp
+++ b/src/mame/drivers/scorpion.cpp
@@ -292,13 +292,13 @@ static GFXDECODE_START( gfx_quorum )
GFXDECODE_ENTRY( "maincpu", 0x1fb00, quorum_charlayout, 0, 8 )
GFXDECODE_END
-MACHINE_CONFIG_START(scorpion_state::scorpion)
+void scorpion_state::scorpion(machine_config &config)
+{
spectrum_128(config);
- MCFG_DEVICE_MODIFY("maincpu")
- MCFG_DEVICE_PROGRAM_MAP(scorpion_mem)
- MCFG_DEVICE_IO_MAP(scorpion_io)
- MCFG_DEVICE_OPCODES_MAP(scorpion_switch)
+ m_maincpu->set_addrmap(AS_PROGRAM, &scorpion_state::scorpion_mem);
+ m_maincpu->set_addrmap(AS_IO, &scorpion_state::scorpion_io);
+ m_maincpu->set_addrmap(AS_OPCODES, &scorpion_state::scorpion_switch);
MCFG_MACHINE_START_OVERRIDE(scorpion_state, scorpion )
MCFG_MACHINE_RESET_OVERRIDE(scorpion_state, scorpion )
@@ -312,7 +312,7 @@ MACHINE_CONFIG_START(scorpion_state::scorpion)
TIMER(config, "nmi_timer").configure_periodic(FUNC(scorpion_state::nmi_check_callback), attotime::from_hz(50));
config.device_remove("exp");
-MACHINE_CONFIG_END
+}
void scorpion_state::profi(machine_config &config)
{