summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/exidy440.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/exidy440.cpp')
-rw-r--r--src/mame/video/exidy440.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/mame/video/exidy440.cpp b/src/mame/video/exidy440.cpp
index 84f6fa7d063..710cb8f0f9d 100644
--- a/src/mame/video/exidy440.cpp
+++ b/src/mame/video/exidy440.cpp
@@ -33,7 +33,7 @@
*
*************************************/
-VIDEO_START_MEMBER(exidy440_state,exidy440)
+void exidy440_state::video_start()
{
/* reset the system */
m_firq_enable = 0;
@@ -55,9 +55,9 @@ VIDEO_START_MEMBER(exidy440_state,exidy440)
}
-VIDEO_START_MEMBER(exidy440_state,topsecex)
+void topsecex_state::video_start()
{
- VIDEO_START_CALL_MEMBER(exidy440);
+ exidy440_state::video_start();
m_topsecex_yscroll = 0;
}
@@ -441,7 +441,7 @@ uint32_t exidy440_state::screen_update_exidy440(screen_device &screen, bitmap_in
}
-uint32_t exidy440_state::screen_update_topsecex(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t topsecex_state::screen_update_topsecex(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
/* redraw the screen */
update_screen(screen, bitmap, cliprect, m_topsecex_yscroll, false);
@@ -458,7 +458,6 @@ uint32_t exidy440_state::screen_update_topsecex(screen_device &screen, bitmap_in
*************************************/
MACHINE_CONFIG_START(exidy440_state::exidy440_video)
- MCFG_VIDEO_START_OVERRIDE(exidy440_state,exidy440)
MCFG_PALETTE_ADD("palette", 256)
MCFG_SCREEN_ADD("screen", RASTER)
@@ -469,11 +468,9 @@ MACHINE_CONFIG_START(exidy440_state::exidy440_video)
MACHINE_CONFIG_END
-MACHINE_CONFIG_START(exidy440_state::topsecex_video)
- MCFG_VIDEO_START_OVERRIDE(exidy440_state,topsecex)
-
+MACHINE_CONFIG_START(topsecex_state::topsecex_video)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_VIDEO_ATTRIBUTES(0)
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, TOPSECEX_VBSTART)
- MCFG_SCREEN_UPDATE_DRIVER(exidy440_state, screen_update_topsecex)
+ MCFG_SCREEN_UPDATE_DRIVER(topsecex_state, screen_update_topsecex)
MACHINE_CONFIG_END