summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/exerion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/exerion.cpp')
-rw-r--r--src/mame/drivers/exerion.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/exerion.cpp b/src/mame/drivers/exerion.cpp
index 1ebc8d89a3a..3a620259457 100644
--- a/src/mame/drivers/exerion.cpp
+++ b/src/mame/drivers/exerion.cpp
@@ -374,11 +374,11 @@ void exerion_state::machine_reset()
MACHINE_CONFIG_START(exerion_state::exerion)
- MCFG_CPU_ADD("maincpu", Z80, EXERION_CPU_CLOCK)
- MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_ADD("maincpu", Z80, EXERION_CPU_CLOCK)
+ MCFG_DEVICE_PROGRAM_MAP(main_map)
- MCFG_CPU_ADD("sub", Z80, EXERION_CPU_CLOCK)
- MCFG_CPU_PROGRAM_MAP(sub_map)
+ MCFG_DEVICE_ADD("sub", Z80, EXERION_CPU_CLOCK)
+ MCFG_DEVICE_PROGRAM_MAP(sub_map)
/* video hardware */
@@ -397,12 +397,12 @@ MACHINE_CONFIG_START(exerion_state::exerion)
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_SOUND_ADD("ay1", AY8910, EXERION_AY8910_CLOCK)
+ MCFG_DEVICE_ADD("ay1", AY8910, EXERION_AY8910_CLOCK)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
- MCFG_SOUND_ADD("ay2", AY8910, EXERION_AY8910_CLOCK)
- MCFG_AY8910_PORT_A_READ_CB(READ8(exerion_state, exerion_porta_r))
- MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(exerion_state, exerion_portb_w))
+ MCFG_DEVICE_ADD("ay2", AY8910, EXERION_AY8910_CLOCK)
+ MCFG_AY8910_PORT_A_READ_CB(READ8(*this, exerion_state, exerion_porta_r))
+ MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(*this, exerion_state, exerion_portb_w))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END