diff options
Diffstat (limited to 'src/mame/tecfri/ambush.cpp')
| -rw-r--r-- | src/mame/tecfri/ambush.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/mame/tecfri/ambush.cpp b/src/mame/tecfri/ambush.cpp index af533148c59..56a971c2718 100644 --- a/src/mame/tecfri/ambush.cpp +++ b/src/mame/tecfri/ambush.cpp @@ -327,10 +327,9 @@ void ambush_state::ambush_palette(palette_device &palette) const int const g = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; // blue component - bit0 = 0; - bit1 = BIT(color_prom[i], 6); - bit2 = BIT(color_prom[i], 7); - int const b = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; + bit0 = BIT(color_prom[i], 6); + bit1 = BIT(color_prom[i], 7); + int const b = 0x52 * bit0 + 0xad * bit1; palette.set_pen_color(i, rgb_t(r, g, b)); } @@ -358,10 +357,9 @@ void ambush_state::mariobl_palette(palette_device &palette) const int const g = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; // blue component - bit0 = 0; - bit1 = BIT(color_prom[i], 6); - bit2 = BIT(color_prom[i], 7); - int const b = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; + bit0 = BIT(color_prom[i], 6); + bit1 = BIT(color_prom[i], 7); + int const b = 0x52 * bit0 + 0xad * bit1; palette.set_pen_color(c, rgb_t(r, g, b)); } |
