summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/magicfly.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-12-29 18:29:06 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-12-29 18:29:06 +0000
commit06da0b9b9f3ac511893e17925bddae85bb7ffa7b (patch)
tree9fd6f47d07ec8c5b492b380d9c1e8a949b88f9bd /src/mame/drivers/magicfly.c
parent87c11a79d70ef787f57a57ba3447f7f1b0d8aa7e (diff)
Change 'screen' parameter in SCREEN_UPDATE and SCREEN_EOF callbacks to a
reference. Remove redundant machine parameter from SCREEN_EOF. Remove old vestiges of driver_device video_eof override since it wasn't being used. Update all multi-screen games to use separate functions for each screen (calling into common code where appropriate). [Aaron Giles] (nw: equivalent MESS changes are ready, will send along shortly)
Diffstat (limited to 'src/mame/drivers/magicfly.c')
-rw-r--r--src/mame/drivers/magicfly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/magicfly.c b/src/mame/drivers/magicfly.c
index e60edb46a2a..1bbc1977e63 100644
--- a/src/mame/drivers/magicfly.c
+++ b/src/mame/drivers/magicfly.c
@@ -515,7 +515,7 @@ static VIDEO_START( 7mezzo )
static SCREEN_UPDATE( magicfly )
{
- magicfly_state *state = screen->machine().driver_data<magicfly_state>();
+ magicfly_state *state = screen.machine().driver_data<magicfly_state>();
tilemap_draw(bitmap, cliprect, state->m_bg_tilemap, 0, 0);
return 0;
}