summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ccastles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ccastles.cpp')
-rw-r--r--src/mame/drivers/ccastles.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/ccastles.cpp b/src/mame/drivers/ccastles.cpp
index eeb95fc58b8..5d0319acddd 100644
--- a/src/mame/drivers/ccastles.cpp
+++ b/src/mame/drivers/ccastles.cpp
@@ -457,8 +457,8 @@ GFXDECODE_END
MACHINE_CONFIG_START(ccastles_state::ccastles)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M6502, MASTER_CLOCK/8)
- MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_ADD("maincpu", M6502, MASTER_CLOCK/8)
+ MCFG_DEVICE_PROGRAM_MAP(main_map)
MCFG_WATCHDOG_ADD("watchdog")
MCFG_WATCHDOG_VBLANK_INIT("screen", 8)
@@ -478,12 +478,12 @@ MACHINE_CONFIG_START(ccastles_state::ccastles)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("pokey1", POKEY, MASTER_CLOCK/8)
+ MCFG_DEVICE_ADD("pokey1", POKEY, MASTER_CLOCK/8)
/* NOTE: 1k + 0.2k is not 100% exact, but should not make an audible difference */
MCFG_POKEY_OUTPUT_OPAMP(RES_K(1) + RES_K(0.2), CAP_U(0.01), 5.0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MCFG_SOUND_ADD("pokey2", POKEY, MASTER_CLOCK/8)
+ MCFG_DEVICE_ADD("pokey2", POKEY, MASTER_CLOCK/8)
/* NOTE: 1k + 0.2k is not 100% exact, but should not make an audible difference */
MCFG_POKEY_OUTPUT_OPAMP(RES_K(1) + RES_K(0.2), CAP_U(0.01), 5.0)
MCFG_POKEY_ALLPOT_R_CB(IOPORT("IN1"))