diff options
author | MooglyGuy <therealmogminer@gmail.com> | 2018-05-16 09:37:54 +0200 |
---|---|---|
committer | mooglyguy <therealmogminer@gmail.com> | 2018-05-16 11:58:08 +0200 |
commit | c83e2a853d4e1643fcc85b68ada3c6f7f33adea4 (patch) | |
tree | 39b249e1a0a9b2056e9815d0a284fd483338362c /src/mame/drivers/atarisy1.cpp | |
parent | 2242ff00893a83a113150609bd525f098d632e8d (diff) |
- Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the side effect of making machine-config overrides of these much
uglier, but this is intended to discourage ongoing use, and will be gradually eliminated.
Diffstat (limited to 'src/mame/drivers/atarisy1.cpp')
-rw-r--r-- | src/mame/drivers/atarisy1.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/atarisy1.cpp b/src/mame/drivers/atarisy1.cpp index eb622a3fc6f..2c721739029 100644 --- a/src/mame/drivers/atarisy1.cpp +++ b/src/mame/drivers/atarisy1.cpp @@ -218,7 +218,7 @@ void atarisy1_state::update_interrupts() } -MACHINE_START_MEMBER(atarisy1_state,atarisy1) +void atarisy1_state::machine_start_atarisy1() { atarigen_state::machine_start(); @@ -227,7 +227,7 @@ MACHINE_START_MEMBER(atarisy1_state,atarisy1) } -MACHINE_RESET_MEMBER(atarisy1_state,atarisy1) +void atarisy1_state::machine_reset_atarisy1() { atarigen_state::machine_reset(); @@ -716,8 +716,8 @@ MACHINE_CONFIG_START(atarisy1_state::atarisy1) MCFG_DEVICE_ADD("audiocpu", M6502, ATARI_CLOCK_14MHz/8) MCFG_DEVICE_PROGRAM_MAP(sound_map) - MCFG_MACHINE_START_OVERRIDE(atarisy1_state,atarisy1) - MCFG_MACHINE_RESET_OVERRIDE(atarisy1_state,atarisy1) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_atarisy1, this)); + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_atarisy1, this)); MCFG_DEVICE_ADD("adc", ADC0809, ATARI_CLOCK_14MHz/16) MCFG_ADC0808_EOC_CB(WRITELINE("ajsint", input_merger_device, in_w<1>)) @@ -770,7 +770,7 @@ MACHINE_CONFIG_START(atarisy1_state::atarisy1) MCFG_SCREEN_PALETTE("palette") MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, atarisy1_state, video_int_write_line)) - MCFG_VIDEO_START_OVERRIDE(atarisy1_state,atarisy1) + set_video_start_cb(config, driver_callback_delegate(&video_start_atarisy1, this)); /* sound hardware */ MCFG_ATARI_SOUND_COMM_ADD("soundcomm", "audiocpu", INPUTLINE("maincpu", M68K_IRQ_6)) |