diff options
Diffstat (limited to 'src/mame/drivers/scramble.cpp')
-rw-r--r-- | src/mame/drivers/scramble.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/scramble.cpp b/src/mame/drivers/scramble.cpp index 62433f71fd8..aaf59ad3809 100644 --- a/src/mame/drivers/scramble.cpp +++ b/src/mame/drivers/scramble.cpp @@ -1326,7 +1326,7 @@ MACHINE_CONFIG_START(scramble_state::scramble) MCFG_WATCHDOG_ADD("watchdog") - MCFG_MACHINE_RESET_OVERRIDE(scramble_state,scramble) + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_scramble, this)); MCFG_DEVICE_ADD("ppi8255_0", I8255A, 0) MCFG_I8255_IN_PORTA_CB(IOPORT("IN0")) @@ -1350,7 +1350,7 @@ MACHINE_CONFIG_START(scramble_state::scramble) MCFG_PALETTE_ADD("palette", 32+64+2+1) /* 32 for characters, 64 for stars, 2 for bullets, 0/1 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,scrambold) - MCFG_VIDEO_START_OVERRIDE(scramble_state,scrambold) + set_video_start_cb(config, driver_callback_delegate(&video_start_scrambold, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -1412,7 +1412,7 @@ MACHINE_CONFIG_START(scramble_state::newsin7) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(32+64+2+0) /* 32 for characters, 64 for stars, 2 for bullets, 0/1 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,galaxold) - MCFG_VIDEO_START_OVERRIDE(scramble_state,newsin7) + set_video_start_cb(config, driver_callback_delegate(&video_start_newsin7, this)); MACHINE_CONFIG_END MACHINE_CONFIG_START(scramble_state::mrkougb) @@ -1451,7 +1451,7 @@ MACHINE_CONFIG_START(scramble_state::ckongs) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(32+64+2+0) /* 32 for characters, 64 for stars, 2 for bullets, 0/1 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,galaxold) - MCFG_VIDEO_START_OVERRIDE(scramble_state,ckongs) + set_video_start_cb(config, driver_callback_delegate(&video_start_ckongs, this)); MACHINE_CONFIG_END MACHINE_CONFIG_START(scramble_state::hotshock) @@ -1467,13 +1467,13 @@ MACHINE_CONFIG_START(scramble_state::hotshock) MCFG_DEVICE_MODIFY("audiocpu") MCFG_DEVICE_IO_MAP(hotshock_sound_io_map) - MCFG_MACHINE_RESET_OVERRIDE(scramble_state,galaxold) + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_galaxold, this)); /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(32+64+2+0) /* 32 for characters, 64 for stars, 2 for bullets, 0/1 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,galaxold) - MCFG_VIDEO_START_OVERRIDE(scramble_state,pisces) + set_video_start_cb(config, driver_callback_delegate(&video_start_pisces, this)); MCFG_DEVICE_MODIFY("8910.1") MCFG_SOUND_ROUTES_RESET() @@ -1495,7 +1495,7 @@ MACHINE_CONFIG_START(scramble_state::cavelon) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(32+64+2+0) /* 32 for characters, 64 for stars, 2 for bullets, 0/1 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,galaxold) - MCFG_VIDEO_START_OVERRIDE(scramble_state,ckongs) + set_video_start_cb(config, driver_callback_delegate(&video_start_ckongs, this)); MACHINE_CONFIG_END MACHINE_CONFIG_START(scramble_state::mimonscr) @@ -1506,7 +1506,7 @@ MACHINE_CONFIG_START(scramble_state::mimonscr) MCFG_DEVICE_PROGRAM_MAP(mimonscr_map) /* video hardware */ - MCFG_VIDEO_START_OVERRIDE(scramble_state,mimonkey) + set_video_start_cb(config, driver_callback_delegate(&video_start_mimonkey, this)); MACHINE_CONFIG_END /* Triple Punch and Mariner are different - only one CPU, one 8910 */ @@ -1548,7 +1548,7 @@ MACHINE_CONFIG_START(scramble_state::mariner) MCFG_PALETTE_ENTRIES(32+64+2+16) /* 32 for characters, 64 for stars, 2 for bullets, 16 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,mariner) - MCFG_VIDEO_START_OVERRIDE(scramble_state,mariner) + set_video_start_cb(config, driver_callback_delegate(&video_start_mariner, this)); MACHINE_CONFIG_END /* Hunchback replaces the Z80 with a S2650 CPU */ @@ -1579,7 +1579,7 @@ MACHINE_CONFIG_START(scramble_state::hncholms) MCFG_DEVICE_MODIFY("maincpu") MCFG_DEVICE_CLOCK(18432000/6/2/2) - MCFG_VIDEO_START_OVERRIDE(scramble_state,scorpion) + set_video_start_cb(config, driver_callback_delegate(&video_start_scorpion, this)); MACHINE_CONFIG_END MACHINE_CONFIG_START(scramble_state::ad2083) @@ -1600,7 +1600,7 @@ MACHINE_CONFIG_START(scramble_state::ad2083) MCFG_WATCHDOG_ADD("watchdog") - MCFG_MACHINE_RESET_OVERRIDE(scramble_state,galaxold) + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_galaxold, this)); /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -1615,7 +1615,7 @@ MACHINE_CONFIG_START(scramble_state::ad2083) MCFG_PALETTE_ADD("palette", 32+64+2+8) /* 32 for characters, 64 for stars, 2 for bullets, 8 for background */ MCFG_PALETTE_INIT_OWNER(scramble_state,turtles) - MCFG_VIDEO_START_OVERRIDE(scramble_state,ad2083) + set_video_start_cb(config, driver_callback_delegate(&video_start_ad2083, this)); /* sound hardware */ @@ -1636,7 +1636,7 @@ MACHINE_CONFIG_START(scramble_state::harem) MCFG_DEVICE_PROGRAM_MAP(harem_sound_map) MCFG_DEVICE_IO_MAP(harem_sound_io_map) - MCFG_VIDEO_START_OVERRIDE(scramble_state,harem) + set_video_start_cb(config, driver_callback_delegate(&video_start_harem, this)); /* extra AY8910 with I/O ports */ MCFG_DEVICE_ADD("8910.3", AY8910, 14318000/8) |