diff options
Diffstat (limited to 'src/mame/video/zaccaria.cpp')
-rw-r--r-- | src/mame/video/zaccaria.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/zaccaria.cpp b/src/mame/video/zaccaria.cpp index 99e898b0c27..9616b66ec24 100644 --- a/src/mame/video/zaccaria.cpp +++ b/src/mame/video/zaccaria.cpp @@ -67,18 +67,18 @@ void zaccaria_state::zaccaria_palette(palette_device &palette) const bit0 = BIT(color_prom[i + 0x000], 3); bit1 = BIT(color_prom[i + 0x000], 2); bit2 = BIT(color_prom[i + 0x000], 1); - int const r = combine_weights(weights_rg, bit0, bit1, bit2); + int const r = combine_3_weights(weights_rg, bit0, bit1, bit2); // green component bit0 = BIT(color_prom[i + 0x000], 0); bit1 = BIT(color_prom[i + 0x200], 3); bit2 = BIT(color_prom[i + 0x200], 2); - int const g = combine_weights(weights_rg, bit0, bit1, bit2); + int const g = combine_3_weights(weights_rg, bit0, bit1, bit2); // blue component bit0 = BIT(color_prom[i + 0x200], 1); bit1 = BIT(color_prom[i + 0x200], 0); - int const b = combine_weights(weights_b, bit0, bit1); + int const b = combine_2_weights(weights_b, bit0, bit1); palette.set_indirect_color(i, rgb_t(r, g, b)); } |