diff options
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 |
commit | 48f7d189e6a36346c37840f765dd9994fd78b479 (patch) | |
tree | 0bdd19bfd2dfa9ef08523788f41eba955d3dcab3 /src/mame/video/superqix.c | |
parent | 8f318637d9c07e5725b278739df07de11a2e3671 (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/superqix.c')
-rw-r--r-- | src/mame/video/superqix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/superqix.c b/src/mame/video/superqix.c index b8dc23c701d..501af229a77 100644 --- a/src/mame/video/superqix.c +++ b/src/mame/video/superqix.c @@ -226,7 +226,7 @@ static void superqix_draw_sprites(running_machine *machine, bitmap_t *bitmap,con VIDEO_UPDATE( pbillian ) { tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0); - pbillian_draw_sprites(machine, bitmap,cliprect); + pbillian_draw_sprites(screen->machine, bitmap,cliprect); if (pbillian_show_power) { @@ -254,7 +254,7 @@ VIDEO_UPDATE( superqix ) { tilemap_draw(bitmap, cliprect, bg_tilemap, TILEMAP_DRAW_LAYER1, 0); copybitmap_trans(bitmap,fg_bitmap[show_bitmap],flip_screen_get(),flip_screen_get(),0,0,cliprect,0); - superqix_draw_sprites(machine, bitmap,cliprect); + superqix_draw_sprites(screen->machine, bitmap,cliprect); tilemap_draw(bitmap, cliprect, bg_tilemap, TILEMAP_DRAW_LAYER0, 0); return 0; } |