This commit is contained in:
angelosa 2017-07-31 04:41:32 +02:00
parent 83adc109e7
commit 3d1ec3d9c6

View File

@ -403,7 +403,7 @@ uint32_t combatsc_state::screen_update_combatsc(screen_device &screen, bitmap_in
m_bg_tilemap[1]->set_scrolly(0, m_k007121_2->ctrlram_r(space, 2));
screen.priority().fill(0, cliprect);
if (m_priority == 0)
{
m_bg_tilemap[1]->draw(screen, bitmap, cliprect, TILEMAP_DRAW_OPAQUE | 0, 4);
@ -419,12 +419,15 @@ uint32_t combatsc_state::screen_update_combatsc(screen_device &screen, bitmap_in
{
m_bg_tilemap[0]->draw(screen, bitmap, cliprect, TILEMAP_DRAW_OPAQUE | 0, 1);
m_bg_tilemap[0]->draw(screen, bitmap, cliprect, TILEMAP_DRAW_OPAQUE | 1, 2);
/* we use the priority buffer so sprites are drawn front to back */
// drill sergeant ribbons goes here, MT #06259
draw_sprites(bitmap, cliprect, m_spriteram[1].get(), 1, screen.priority(), 0x0f00);
// guess: move the face as well (should go behind hands but it isn't tested)
draw_sprites(bitmap, cliprect, m_spriteram[0].get(), 0, screen.priority(), 0x4444);
m_bg_tilemap[1]->draw(screen, bitmap, cliprect, 1, 4);
m_bg_tilemap[1]->draw(screen, bitmap, cliprect, 0, 8);
/* we use the priority buffer so sprites are drawn front to back */
draw_sprites(bitmap, cliprect, m_spriteram[1].get(), 1, screen.priority(), 0x0f00);
draw_sprites(bitmap, cliprect, m_spriteram[0].get(), 0, screen.priority(), 0x4444);
}
//if (m_k007121_1->ctrlram_r(space, 1) & 0x08)