summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarigx2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atarigx2.cpp')
-rw-r--r--src/mame/drivers/atarigx2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/atarigx2.cpp b/src/mame/drivers/atarigx2.cpp
index 92712919627..3c5ab257b68 100644
--- a/src/mame/drivers/atarigx2.cpp
+++ b/src/mame/drivers/atarigx2.cpp
@@ -1487,8 +1487,8 @@ static const atari_rle_objects_config modesc_0x400 =
MACHINE_CONFIG_START(atarigx2_state::atarigx2)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68EC020, ATARI_CLOCK_14MHz)
- MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_ADD("maincpu", M68EC020, ATARI_CLOCK_14MHz)
+ MCFG_DEVICE_PROGRAM_MAP(main_map)
MCFG_DEVICE_ADD("adc", ADC0809, ATARI_CLOCK_14MHz/16)
MCFG_ADC0808_IN0_CB(IOPORT("A2D0"))
@@ -1518,7 +1518,7 @@ MACHINE_CONFIG_START(atarigx2_state::atarigx2)
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
MCFG_SCREEN_UPDATE_DRIVER(atarigx2_state, screen_update_atarigx2)
MCFG_SCREEN_PALETTE("palette")
- MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(atarigx2_state, video_int_write_line))
+ MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, atarigx2_state, video_int_write_line))
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")