Skip to content

Commit

Permalink
Fix scrolld in jpark - jeep bounce
Browse files Browse the repository at this point in the history
Seems to work fine with other games, need to test more though. Likely the same change needed for multi32.
  • Loading branch information
mahoneyt944 committed May 23, 2023
1 parent dd704f4 commit 7782651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vidhrdw/system32_vidhrdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1381,8 +1381,8 @@ void system32_draw_bg_layer ( struct mame_bitmap *bitmap, const struct rectangle
/* Multi32: Shift layer 3's rowscroll left one screen so that it lines up*/
tilemap_set_scrollx(system32_layer_tilemap[layer],0,((sys32_videoram[(0x01FF12+8*layer)/2]) & 0x3ff));
tilemap_set_scrolly(system32_layer_tilemap[layer],0,((sys32_videoram[(0x01FF16+8*layer)/2]) & 0x1ff));
tilemap_set_scrolldx(system32_layer_tilemap[layer], (sys32_videoram[(0x01FF30+layer*4)/2]&0x00ff)+monitor*monitor_res, -(sys32_videoram[(0x01FF30+layer*4)/2]&0x00ff)-monitor*monitor_res);
tilemap_set_scrolldy(system32_layer_tilemap[layer], sys32_videoram[(0x01FF32+layer*4)/2]&0x00ff, -sys32_videoram[(0x01FF32+layer*4)/2]&0x00ff);
tilemap_set_scrolldx(system32_layer_tilemap[layer], (sys32_videoram[(0x01FF30+layer*4)/2]&0x1ff)+monitor*monitor_res, -(sys32_videoram[(0x01FF30+layer*4)/2]&0x00ff)-monitor*monitor_res);
tilemap_set_scrolldy(system32_layer_tilemap[layer], sys32_videoram[(0x01FF32+layer*4)/2]&0x1ff, -sys32_videoram[(0x01FF32+layer*4)/2]&0x00ff);
tilemap_draw(bitmap,&clip,system32_layer_tilemap[layer],trans,0);
}
}
Expand Down

0 comments on commit 7782651

Please sign in to comment.