path: root/src/mame/includes/starshp1.h
diff options
authorGravatarGravatar Miodrag Milanovic <>2011-02-24 13:51:21 +0000
committerGravatarGravatar Miodrag Milanovic <>2011-02-24 13:51:21 +0000
commit50b692dd2464a3bb6dc8408ceb2405288effab8f (patch)
tree77d38036043907ff66d9b9471c4e36995fed7aaf /src/mame/includes/starshp1.h
parentd8cb0ac416caf49efcb7497e87806e3e9ac80f6e (diff)
Modified video update system. [Miodrag Milanovic]
Screen update function is now per screen device (it was before but was attached to machine driver) MCFG_VIDEO_UPDATE -> MCFG_SCREEN_UPDATE MCFG_VIDEO_EOF -> MCFG_SCREEN_EOF EOF is now executed for all screens, so for all existing it is defined just for one screen. This part will be updated in future. Note that there are now screen_update and screen_eof virtual functions for "modern" drivers which are called same as they did before. All drivers are updated and in places where update function was separated per screen I did name separate function. This change will enable us to put screen definition fully into device.
Diffstat (limited to 'src/mame/includes/starshp1.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index d9e777d091e..cc7006c07a3 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -72,8 +72,8 @@ WRITE8_HANDLER( starshp1_ssadd_w );
WRITE8_HANDLER( starshp1_playfield_w );
PALETTE_INIT( starshp1 );
-VIDEO_UPDATE( starshp1 );
-VIDEO_EOF( starshp1 );
+SCREEN_UPDATE( starshp1 );
+SCREEN_EOF( starshp1 );
VIDEO_START( starshp1 );