summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pokemini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pokemini.cpp')
-rw-r--r--src/mame/drivers/pokemini.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/pokemini.cpp b/src/mame/drivers/pokemini.cpp
index 45231a5df16..3679ca5d821 100644
--- a/src/mame/drivers/pokemini.cpp
+++ b/src/mame/drivers/pokemini.cpp
@@ -1760,8 +1760,8 @@ uint32_t pokemini_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
MACHINE_CONFIG_START(pokemini_state::pokemini)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", MINX, 4000000)
- MCFG_CPU_PROGRAM_MAP(pokemini_mem_map)
+ MCFG_DEVICE_ADD("maincpu", MINX, 4000000)
+ MCFG_DEVICE_PROGRAM_MAP(pokemini_mem_map)
MCFG_QUANTUM_TIME(attotime::from_hz(60))
@@ -1783,7 +1783,7 @@ MACHINE_CONFIG_START(pokemini_state::pokemini)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
+ MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SPEAKER_LEVELS(3, speaker_levels)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)