mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
bosco.cpp: Sprites have a lower priority than BG. (#6880)
This commit is contained in:
parent
1bd171323a
commit
e9818457de
@ -91,7 +91,6 @@ TILEMAP_MAPPER_MEMBER(bosco_state::fg_tilemap_scan )
|
||||
inline void bosco_state::get_tile_info_bosco(tile_data &tileinfo,int tile_index,int ram_offs)
|
||||
{
|
||||
uint8_t attr = m_videoram[ram_offs + tile_index + 0x800];
|
||||
tileinfo.category = (attr & 0x20) >> 5;
|
||||
tileinfo.group = attr & 0x3f;
|
||||
tileinfo.set(0,
|
||||
m_videoram[ram_offs + tile_index],
|
||||
@ -252,14 +251,10 @@ uint32_t bosco_state::screen_update_bosco(screen_device &screen, bitmap_ind16 &b
|
||||
bitmap.fill(m_palette->black_pen(), cliprect);
|
||||
m_starfield->draw_starfield(bitmap,bg_clip,flip);
|
||||
|
||||
m_bg_tilemap->draw(screen, bitmap, bg_clip, 0,0);
|
||||
m_fg_tilemap->draw(screen, bitmap, fg_clip, 0,0);
|
||||
|
||||
draw_sprites(bitmap,bg_clip,flip);
|
||||
|
||||
/* draw the high priority characters */
|
||||
m_bg_tilemap->draw(screen, bitmap, bg_clip, 1,0);
|
||||
m_fg_tilemap->draw(screen, bitmap, fg_clip, 1,0);
|
||||
m_bg_tilemap->draw(screen, bitmap, bg_clip, 0);
|
||||
m_fg_tilemap->draw(screen, bitmap, fg_clip, 0);
|
||||
|
||||
draw_bullets(bitmap,cliprect,flip);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user