mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
added some info
This commit is contained in:
parent
14d4b8e72e
commit
00632018b5
@ -177,11 +177,13 @@ static void draw_background(running_machine *machine, bitmap_t *bitmap, const re
|
||||
int y,x;
|
||||
INT16 scrolly;
|
||||
|
||||
// from 64 to 127: not wrapped
|
||||
for (y = 64; y < 128; y++)
|
||||
tilemap_set_scrollx(bg_tilemap, y, m57_scroll[0x40]);
|
||||
|
||||
tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0);
|
||||
|
||||
// from 128 to 255: wrapped
|
||||
for (y = 128; y <= cliprect->max_y; y++)
|
||||
{
|
||||
scrolly = m57_scroll[y] + (m57_scroll[y + 0x100] << 8);
|
||||
|
Loading…
Reference in New Issue
Block a user