diff options
Diffstat (limited to 'src/mame/drivers/goal92.cpp')
-rw-r--r-- | src/mame/drivers/goal92.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/goal92.cpp b/src/mame/drivers/goal92.cpp index 8154a237b8e..108b8b45868 100644 --- a/src/mame/drivers/goal92.cpp +++ b/src/mame/drivers/goal92.cpp @@ -299,12 +299,12 @@ void goal92_state::machine_reset() MACHINE_CONFIG_START(goal92_state::goal92) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M68000,12000000) - MCFG_CPU_PROGRAM_MAP(goal92_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", goal92_state, irq6_line_hold) /* VBL */ + MCFG_DEVICE_ADD("maincpu", M68000,12000000) + MCFG_DEVICE_PROGRAM_MAP(goal92_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", goal92_state, irq6_line_hold) /* VBL */ - MCFG_CPU_ADD("audiocpu", Z80, 2500000) - MCFG_CPU_PROGRAM_MAP(sound_cpu) + MCFG_DEVICE_ADD("audiocpu", Z80, 2500000) + MCFG_DEVICE_PROGRAM_MAP(sound_cpu) /* IRQs are triggered by the main CPU */ @@ -315,7 +315,7 @@ MACHINE_CONFIG_START(goal92_state::goal92) MCFG_SCREEN_SIZE(40*8, 32*8) MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1) // black border at bottom is a game bug... MCFG_SCREEN_UPDATE_DRIVER(goal92_state, screen_update_goal92) - MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(goal92_state, screen_vblank_goal92)) + MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, goal92_state, screen_vblank_goal92)) MCFG_SCREEN_PALETTE("palette") MCFG_GFXDECODE_ADD("gfxdecode", "palette", goal92) @@ -327,15 +327,15 @@ MACHINE_CONFIG_START(goal92_state::goal92) MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_SOUND_ADD("ym1", YM2203, 2500000/2) - MCFG_YM2203_IRQ_HANDLER(WRITELINE(goal92_state, irqhandler)) + MCFG_DEVICE_ADD("ym1", YM2203, 2500000/2) + MCFG_YM2203_IRQ_HANDLER(WRITELINE(*this, goal92_state, irqhandler)) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) - MCFG_SOUND_ADD("ym2", YM2203, 2500000/2) + MCFG_DEVICE_ADD("ym2", YM2203, 2500000/2) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) - MCFG_SOUND_ADD("msm", MSM5205, 384000) - MCFG_MSM5205_VCLK_CB(WRITELINE(goal92_state, goal92_adpcm_int)) /* interrupt function */ + MCFG_DEVICE_ADD("msm", MSM5205, 384000) + MCFG_MSM5205_VCLK_CB(WRITELINE(*this, goal92_state, goal92_adpcm_int)) /* interrupt function */ MCFG_MSM5205_PRESCALER_SELECTOR(S96_4B) /* 4KHz 4-bit */ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.60) MACHINE_CONFIG_END |