diff options
Diffstat (limited to 'src/mame/video/tp84.cpp')
-rw-r--r-- | src/mame/video/tp84.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/tp84.cpp b/src/mame/video/tp84.cpp index 14a64748c89..726b97417ff 100644 --- a/src/mame/video/tp84.cpp +++ b/src/mame/video/tp84.cpp @@ -65,21 +65,21 @@ void tp84_state::tp84_palette(palette_device &palette) const bit1 = BIT(color_prom[i | 0x000], 1); bit2 = BIT(color_prom[i | 0x000], 2); bit3 = BIT(color_prom[i | 0x000], 3); - int const r = combine_4_weights(weights, bit0, bit1, bit2, bit3); + int const r = combine_weights(weights, bit0, bit1, bit2, bit3); // green component bit0 = BIT(color_prom[i | 0x100], 0); bit1 = BIT(color_prom[i | 0x100], 1); bit2 = BIT(color_prom[i | 0x100], 2); bit3 = BIT(color_prom[i | 0x100], 3); - int const g = combine_4_weights(weights, bit0, bit1, bit2, bit3); + int const g = combine_weights(weights, bit0, bit1, bit2, bit3); // blue component bit0 = BIT(color_prom[i | 0x200], 0); bit1 = BIT(color_prom[i | 0x200], 1); bit2 = BIT(color_prom[i | 0x200], 2); bit3 = BIT(color_prom[i | 0x200], 3); - int const b = combine_4_weights(weights, bit0, bit1, bit2, bit3); + int const b = combine_weights(weights, bit0, bit1, bit2, bit3); palette.set_indirect_color(i, rgb_t(r, g, b)); } |