mirror of
https://github.com/holub/mame
synced 2025-05-13 17:38:21 +03:00
forgot other -1
This commit is contained in:
parent
d730fd85c7
commit
dc21f30a98
@ -109,9 +109,10 @@ VIDEO_START( bagman )
|
|||||||
bg_tilemap = tilemap_create(machine, get_bg_tile_info, tilemap_scan_rows,
|
bg_tilemap = tilemap_create(machine, get_bg_tile_info, tilemap_scan_rows,
|
||||||
8, 8, 32, 32);
|
8, 8, 32, 32);
|
||||||
|
|
||||||
tilemap_set_scrolldy(bg_tilemap, 0, -1);
|
tilemap_set_scrolldy(bg_tilemap, -1, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect)
|
static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect)
|
||||||
{
|
{
|
||||||
UINT8 *spriteram = machine->generic.spriteram.u8;
|
UINT8 *spriteram = machine->generic.spriteram.u8;
|
||||||
@ -146,7 +147,6 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SCREEN_UPDATE( bagman )
|
SCREEN_UPDATE( bagman )
|
||||||
{
|
{
|
||||||
bitmap_fill(bitmap,cliprect,0);
|
bitmap_fill(bitmap,cliprect,0);
|
||||||
|
Loading…
Reference in New Issue
Block a user