diff options
Diffstat (limited to 'src/mame/drivers/yunsun16.cpp')
-rw-r--r-- | src/mame/drivers/yunsun16.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/yunsun16.cpp b/src/mame/drivers/yunsun16.cpp index df815c20b0d..687f508ef94 100644 --- a/src/mame/drivers/yunsun16.cpp +++ b/src/mame/drivers/yunsun16.cpp @@ -593,13 +593,13 @@ MACHINE_RESET_MEMBER(yunsun16_state, shocking) MACHINE_CONFIG_START(yunsun16_state::magicbub) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M68000, XTAL(16'000'000)) - MCFG_CPU_PROGRAM_MAP(main_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", yunsun16_state, irq2_line_hold) + MCFG_DEVICE_ADD("maincpu", M68000, XTAL(16'000'000)) + MCFG_DEVICE_PROGRAM_MAP(main_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", yunsun16_state, irq2_line_hold) - MCFG_CPU_ADD("audiocpu", Z80, XTAL(16'000'000)/4) - MCFG_CPU_PROGRAM_MAP(sound_map) - MCFG_CPU_IO_MAP(sound_port_map) + MCFG_DEVICE_ADD("audiocpu", Z80, XTAL(16'000'000)/4) + MCFG_DEVICE_PROGRAM_MAP(sound_map) + MCFG_DEVICE_IO_MAP(sound_port_map) /* video hardware */ @@ -618,7 +618,7 @@ MACHINE_CONFIG_START(yunsun16_state::magicbub) MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_SOUND_ADD("ymsnd", YM3812, XTAL(16'000'000)/4) + MCFG_DEVICE_ADD("ymsnd", YM3812, XTAL(16'000'000)/4) MCFG_YM3812_IRQ_HANDLER(INPUTLINE("audiocpu", 0)) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.80) @@ -636,9 +636,9 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START(yunsun16_state::shocking) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M68000, XTAL(16'000'000)) - MCFG_CPU_PROGRAM_MAP(main_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", yunsun16_state, irq2_line_hold) + MCFG_DEVICE_ADD("maincpu", M68000, XTAL(16'000'000)) + MCFG_DEVICE_PROGRAM_MAP(main_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", yunsun16_state, irq2_line_hold) MCFG_MACHINE_START_OVERRIDE(yunsun16_state, shocking) MCFG_MACHINE_RESET_OVERRIDE(yunsun16_state, shocking) |