summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2010-05-01 18:25:08 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2010-05-01 18:25:08 +0000
commit83a2b3868a9cfba13f8a249c39b34824c4c0bebf (patch)
treed49d19c6c7a7f01a9b3aac9c9936739af962a600
parent294ca351c7ab3367a42b80a54a0b23f1aa75f773 (diff)
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)
-rw-r--r--src/mame/video/finalizr.c14
1 files 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;