summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/xybots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xybots.cpp')
-rw-r--r--src/mame/drivers/xybots.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/xybots.cpp b/src/mame/drivers/xybots.cpp
index 101b7a5b644..7d127e8aa61 100644
--- a/src/mame/drivers/xybots.cpp
+++ b/src/mame/drivers/xybots.cpp
@@ -177,8 +177,8 @@ GFXDECODE_END
MACHINE_CONFIG_START(xybots_state::xybots)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz/2)
- MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_ADD("maincpu", M68000, ATARI_CLOCK_14MHz/2)
+ MCFG_DEVICE_PROGRAM_MAP(main_map)
MCFG_SLAPSTIC_ADD("slapstic", 107)
@@ -205,7 +205,7 @@ MACHINE_CONFIG_START(xybots_state::xybots)
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
MCFG_SCREEN_UPDATE_DRIVER(xybots_state, screen_update_xybots)
MCFG_SCREEN_PALETTE("palette")
- MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(xybots_state, video_int_write_line))
+ MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, xybots_state, video_int_write_line))
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")