From 83a2b3868a9cfba13f8a249c39b34824c4c0bebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sat, 1 May 2010 18:25:08 +0000 Subject: [PATCH] MAMEtesters bugfix: - 03102: [Side-by-side] finalizr: The "lives" statusbar is shown at bottom of the screen in MAME and on the PCB it's on the top (hap) --- src/mame/video/finalizr.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/mame/video/finalizr.c b/src/mame/video/finalizr.c index b4706fc8493..c8510dff7bc 100644 --- a/src/mame/video/finalizr.c +++ b/src/mame/video/finalizr.c @@ -93,7 +93,7 @@ VIDEO_UPDATE( finalizr ) tilemap_mark_all_tiles_dirty(state->bg_tilemap); tilemap_mark_all_tiles_dirty(state->fg_tilemap); - tilemap_set_scrollx(state->bg_tilemap, 0, *state->scroll - 16); + tilemap_set_scrollx(state->bg_tilemap, 0, *state->scroll - 32); tilemap_draw(bitmap, cliprect, state->bg_tilemap, 0, 0); /* Draw the sprites. */ @@ -109,7 +109,7 @@ VIDEO_UPDATE( finalizr ) int sx, sy, flipx, flipy, code, color, size; - sx = 16 + sr[offs + 3] - ((sr[offs + 4] & 0x01) << 8); + sx = 32 + 1 + sr[offs + 3] - ((sr[offs + 4] & 0x01) << 8); sy = sr[offs + 2]; flipx = sr[offs + 4] & 0x20; flipy = sr[offs + 4] & 0x40; @@ -218,14 +218,8 @@ VIDEO_UPDATE( finalizr ) /* draw top status region */ clip.min_x = visarea->min_x; - clip.max_x = visarea->min_x + 15; - tilemap_set_scrolldx(state->fg_tilemap, 0,-16); - tilemap_draw(bitmap, &clip, state->fg_tilemap, 0, 0); - - /* draw bottom status region */ - clip.min_x = visarea->max_x - 15; - clip.max_x = visarea->max_x; - tilemap_set_scrolldx(state->fg_tilemap,-16, 0); + clip.max_x = visarea->min_x + 31; + tilemap_set_scrolldx(state->fg_tilemap, 0,-32); tilemap_draw(bitmap, &clip, state->fg_tilemap, 0, 0); } return 0;