summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/redclash.c
diff options
context:
space:
mode:
author Zsolt Vasvari <zsoltvas@mamedev.org>2008-03-08 15:57:43 +0000
committer Zsolt Vasvari <zsoltvas@mamedev.org>2008-03-08 15:57:43 +0000
commit48f7d189e6a36346c37840f765dd9994fd78b479 (patch)
tree0bdd19bfd2dfa9ef08523788f41eba955d3dcab3 /src/mame/video/redclash.c
parent8f318637d9c07e5725b278739df07de11a2e3671 (diff)
Changes VIDEO_UPDATE signature to
typedef UINT32 (*video_update_func)(const device_config *screen, int scrnum, bitmap_t *bitmap, const rectangle *cliprect); Adds const device_config *primary_screen to running_machine (not yet used)
Diffstat (limited to 'src/mame/video/redclash.c')
-rw-r--r--src/mame/video/redclash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/redclash.c b/src/mame/video/redclash.c
index 9723805eca2..c7156635968 100644
--- a/src/mame/video/redclash.c
+++ b/src/mame/video/redclash.c
@@ -421,9 +421,9 @@ VIDEO_EOF( redclash )
VIDEO_UPDATE( redclash )
{
- fillbitmap(bitmap, get_black_pen(machine), cliprect);
+ fillbitmap(bitmap, get_black_pen(screen->machine), cliprect);
redclash_draw_stars(bitmap, cliprect, 0x60, 0, 0x00, 0xff);
- draw_sprites(machine, bitmap, cliprect);
+ draw_sprites(screen->machine, bitmap, cliprect);
draw_bullets(bitmap, cliprect);
tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 0);
return 0;