summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/monty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/monty.cpp')
-rw-r--r--src/mame/drivers/monty.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/monty.cpp b/src/mame/drivers/monty.cpp
index 85a5d6bb650..88840cfdca4 100644
--- a/src/mame/drivers/monty.cpp
+++ b/src/mame/drivers/monty.cpp
@@ -267,10 +267,10 @@ SED1520_UPDATE_CB(monty_state::screen_update)
// TODO: Additional machine definition - Master Monty has a different memory layout
MACHINE_CONFIG_START(monty_state::monty)
// Basic machine hardware
- MCFG_CPU_ADD("maincpu", Z80, 3580000) // Ceramic resonator labeled 3.58MT
- MCFG_CPU_PROGRAM_MAP(monty_mem)
- MCFG_CPU_IO_MAP(monty_io)
- MCFG_Z80_SET_HALT_CALLBACK(WRITELINE(monty_state, halt_changed))
+ MCFG_DEVICE_ADD("maincpu", Z80, 3580000) // Ceramic resonator labeled 3.58MT
+ MCFG_DEVICE_PROGRAM_MAP(monty_mem)
+ MCFG_DEVICE_IO_MAP(monty_io)
+ MCFG_Z80_SET_HALT_CALLBACK(WRITELINE(*this, monty_state, halt_changed))
// Video hardware
MCFG_SCREEN_ADD("screen", LCD)
@@ -282,7 +282,7 @@ MACHINE_CONFIG_START(monty_state::monty)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
+ MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
// LCD controller interfaces
@@ -291,8 +291,8 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(monty_state::mmonty)
monty(config);
- MCFG_CPU_MODIFY( "maincpu" )
- MCFG_CPU_PROGRAM_MAP(mmonty_mem)
+ MCFG_DEVICE_MODIFY( "maincpu" )
+ MCFG_DEVICE_PROGRAM_MAP(mmonty_mem)
MACHINE_CONFIG_END