From 3d1ec3d9c66b9efb1cd24b7c076965dd615702d3 Mon Sep 17 00:00:00 2001 From: angelosa Date: Mon, 31 Jul 2017 04:41:32 +0200 Subject: [PATCH] MT #06259 --- src/mame/video/combatsc.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/mame/video/combatsc.cpp b/src/mame/video/combatsc.cpp index cae826bfec7..80dfb39bcb3 100644 --- a/src/mame/video/combatsc.cpp +++ b/src/mame/video/combatsc.cpp @@ -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)