02448: lethalen: External' rowscroll not hooked up correctly (1st attract level, highscores)

This commit is contained in:
Roberto Zandona 2011-09-29 06:33:06 +00:00
parent 71bb99bb31
commit 00ba8d39b9
3 changed files with 5 additions and 5 deletions

View File

@ -156,7 +156,7 @@ japanese version scroll / mirror / guns not set up correctly
guns might be slightly off center
'external' rowscroll not hooked up correctly (1st attract level, highscores)
'external' rowscroll hooked up forcing xylinescroll for tilemap #3
maybe some priority issues / sprite placement issues..

View File

@ -7154,7 +7154,7 @@ void k056832_tilemap_draw( device_t *device, bitmap_t *bitmap, const rectangle *
corr -= k056832->layer_offs[layer][0];
if (scrollmode == 0 && (flags & K056832_DRAW_FLAG_FORCE_XYSCROLL))
if (/* (scrollmode == 0) && */ (flags & K056832_DRAW_FLAG_FORCE_XYSCROLL))
{
scrollmode = 3;
flags &= ~K056832_DRAW_FLAG_FORCE_XYSCROLL;
@ -7169,7 +7169,6 @@ void k056832_tilemap_draw( device_t *device, bitmap_t *bitmap, const rectangle *
sdat_adv = 2;
break;
case 2: // rowscroll
p_scroll_data = &k056832->videoram[scrollbank << 12] + (k056832->lsram_page[layer][1] >> 1);
line_height = 8;
sdat_wrapmask = 0x3ff;
@ -7310,6 +7309,7 @@ void k056832_tilemap_draw( device_t *device, bitmap_t *bitmap, const rectangle *
continue;
tmap = k056832->tilemap[pageIndex];
tilemap_set_scrolly(tmap, 0, ay);
last_dx = 0x100000;
@ -7456,7 +7456,7 @@ void k056832_tilemap_draw_dj( device_t *device, bitmap_t *bitmap, const rectangl
corr -= k056832->layer_offs[layer][0];
if (scrollmode == 0 && (flags & K056832_DRAW_FLAG_FORCE_XYSCROLL))
if (/* (scrollmode == 0) && */ (flags & K056832_DRAW_FLAG_FORCE_XYSCROLL))
{
scrollmode = 3;
flags &= ~K056832_DRAW_FLAG_FORCE_XYSCROLL;

View File

@ -109,7 +109,7 @@ SCREEN_UPDATE(lethalen)
bitmap_fill(bitmap, cliprect, 7168);
bitmap_fill(screen->machine().priority_bitmap, cliprect, 0);
k056832_tilemap_draw(state->m_k056832, bitmap, cliprect, 3, 0, 1);
k056832_tilemap_draw(state->m_k056832, bitmap, cliprect, 3, K056832_DRAW_FLAG_FORCE_XYSCROLL, 1);
k056832_tilemap_draw(state->m_k056832, bitmap, cliprect, 2, 0, 2);
k056832_tilemap_draw(state->m_k056832, bitmap, cliprect, 1, 0, 4);