mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
(spritelayers priority note)
This commit is contained in:
parent
ff7400538c
commit
97bb550d5c
@ -250,6 +250,7 @@ VIDEO_UPDATE( zaccaria )
|
|||||||
tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
|
tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
|
||||||
|
|
||||||
// 3 layers of sprites, each with their own palette and priorities
|
// 3 layers of sprites, each with their own palette and priorities
|
||||||
|
// Not perfect yet, does spriteram(1) layer have a priority bit somewhere?
|
||||||
draw_sprites(screen->machine,bitmap,cliprect,screen->machine->generic.spriteram2.u8,2,1);
|
draw_sprites(screen->machine,bitmap,cliprect,screen->machine->generic.spriteram2.u8,2,1);
|
||||||
draw_sprites(screen->machine,bitmap,cliprect,screen->machine->generic.spriteram.u8,1,0);
|
draw_sprites(screen->machine,bitmap,cliprect,screen->machine->generic.spriteram.u8,1,0);
|
||||||
draw_sprites(screen->machine,bitmap,cliprect,screen->machine->generic.spriteram2.u8+0x20,0,1);
|
draw_sprites(screen->machine,bitmap,cliprect,screen->machine->generic.spriteram2.u8+0x20,0,1);
|
||||||
|
Loading…
Reference in New Issue
Block a user