summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/orao.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/orao.cpp')
-rw-r--r--src/mame/drivers/orao.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/orao.cpp b/src/mame/drivers/orao.cpp
index 13fb13fa31a..81a86f2f96c 100644
--- a/src/mame/drivers/orao.cpp
+++ b/src/mame/drivers/orao.cpp
@@ -172,8 +172,8 @@ INPUT_PORTS_END
/* Machine driver */
MACHINE_CONFIG_START(orao_state::orao)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M6502, 1000000)
- MCFG_CPU_PROGRAM_MAP(orao_mem)
+ MCFG_DEVICE_ADD("maincpu", M6502, 1000000)
+ MCFG_DEVICE_PROGRAM_MAP(orao_mem)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -189,7 +189,7 @@ MACHINE_CONFIG_START(orao_state::orao)
/* audio 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)
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)