From ccbd8a13e2901d39c4dfa110155ac65748942c5c Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Fri, 24 May 2019 22:44:19 +0200 Subject: Fix accidental sprite color regression (nw) --- src/mame/drivers/cntsteer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/cntsteer.cpp b/src/mame/drivers/cntsteer.cpp index 0a4e21f6717..95ec8b335d3 100644 --- a/src/mame/drivers/cntsteer.cpp +++ b/src/mame/drivers/cntsteer.cpp @@ -238,7 +238,7 @@ void cntsteer_state::zerotrgt_draw_sprites( bitmap_ind16 &bitmap, const rectangl code = m_spriteram[offs + 3] + ((m_spriteram[offs + 1] & 0xc0) << 2); sx = (m_spriteram[offs + 2]); sy = 0xf0 - m_spriteram[offs]; - color = 0x00 + ((m_spriteram[offs + 1] & 0x20) >> 4) + ((m_spriteram[offs + 1] & 0x8)>>3); + color = 0x10 + ((m_spriteram[offs + 1] & 0x20) >> 4) + ((m_spriteram[offs + 1] & 0x8)>>3); fx = !(m_spriteram[offs + 1] & 0x04); fy = (m_spriteram[offs + 1] & 0x02); @@ -295,7 +295,7 @@ void cntsteer_state::cntsteer_draw_sprites( bitmap_ind16 &bitmap, const rectangl code = m_spriteram[offs + 1] + ((m_spriteram[offs + 0x80] & 0x03) << 8); sx = 0x100 - m_spriteram[offs + 3]; sy = 0x100 - m_spriteram[offs + 2]; - color = 0x00 + ((m_spriteram[offs + 0x80] & 0x70) >> 4); + color = 0x10 + ((m_spriteram[offs + 0x80] & 0x70) >> 4); fx = (m_spriteram[offs + 0] & 0x04); fy = (m_spriteram[offs + 0] & 0x02); -- cgit v1.2.3