summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/r2dtank.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/r2dtank.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/r2dtank.c')
-rw-r--r--src/mame/drivers/r2dtank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/r2dtank.c b/src/mame/drivers/r2dtank.c
index 5f3fb81f89e..bce26e4b8fa 100644
--- a/src/mame/drivers/r2dtank.c
+++ b/src/mame/drivers/r2dtank.c
@@ -399,7 +399,7 @@ static const mc6845_interface mc6845_intf =
static SCREEN_UPDATE( r2dtank )
{
- mc6845_device *mc6845 = screen->machine().device<mc6845_device>("crtc");
+ mc6845_device *mc6845 = screen.machine().device<mc6845_device>("crtc");
mc6845->update(bitmap, cliprect);
return 0;