summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kontest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/kontest.cpp')
-rw-r--r--src/mame/drivers/kontest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/kontest.cpp b/src/mame/drivers/kontest.cpp
index e9077c44549..1fdc26b1c82 100644
--- a/src/mame/drivers/kontest.cpp
+++ b/src/mame/drivers/kontest.cpp
@@ -255,10 +255,10 @@ void kontest_state::machine_reset()
MACHINE_CONFIG_START(kontest_state::kontest)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80,MAIN_CLOCK/8)
- MCFG_CPU_PROGRAM_MAP(kontest_map)
- MCFG_CPU_IO_MAP(kontest_io)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", kontest_state, kontest_interrupt)
+ MCFG_DEVICE_ADD("maincpu", Z80,MAIN_CLOCK/8)
+ MCFG_DEVICE_PROGRAM_MAP(kontest_map)
+ MCFG_DEVICE_IO_MAP(kontest_io)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", kontest_state, kontest_interrupt)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -274,10 +274,10 @@ MACHINE_CONFIG_START(kontest_state::kontest)
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MCFG_SOUND_ADD("sn1", SN76489A, MAIN_CLOCK/16)
+ MCFG_DEVICE_ADD("sn1", SN76489A, MAIN_CLOCK/16)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50)
- MCFG_SOUND_ADD("sn2", SN76489A, MAIN_CLOCK/16)
+ MCFG_DEVICE_ADD("sn2", SN76489A, MAIN_CLOCK/16)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50)
MACHINE_CONFIG_END