summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bartop52.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bartop52.cpp')
-rw-r--r--src/mame/drivers/bartop52.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/bartop52.cpp b/src/mame/drivers/bartop52.cpp
index 4bc0276dce3..e819402b974 100644
--- a/src/mame/drivers/bartop52.cpp
+++ b/src/mame/drivers/bartop52.cpp
@@ -135,15 +135,15 @@ MACHINE_CONFIG_START(bartop52_state::a5200)
ATARI_GTIA(config, m_gtia, 0);
m_gtia->set_region(GTIA_NTSC);
- MCFG_DEVICE_ADD("antic", ATARI_ANTIC, 0)
- MCFG_ANTIC_GTIA("gtia")
+ ATARI_ANTIC(config, m_antic, 0);
+ m_antic->set_gtia_tag(m_gtia);
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(1))
- MCFG_SCREEN_VISIBLE_AREA_ANTIC()
- MCFG_SCREEN_REFRESH_RATE_ANTIC_60HZ()
- MCFG_SCREEN_SIZE_ANTIC_60HZ()
+ MCFG_SCREEN_VISIBLE_AREA(antic_device::MIN_X, antic_device::MAX_X, antic_device::MIN_Y, antic_device::MAX_Y)
+ MCFG_SCREEN_REFRESH_RATE(antic_device::FRAME_RATE_60HZ)
+ MCFG_SCREEN_SIZE(antic_device::HWIDTH * 8, antic_device::TOTAL_LINES_60HZ)
MCFG_SCREEN_UPDATE_DEVICE("antic", antic_device, screen_update)
MCFG_SCREEN_PALETTE("palette")