diff options
Diffstat (limited to 'src/mame/video/timelimt.cpp')
-rw-r--r-- | src/mame/video/timelimt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/timelimt.cpp b/src/mame/video/timelimt.cpp index 3dc75daf30b..1d3f1020e55 100644 --- a/src/mame/video/timelimt.cpp +++ b/src/mame/video/timelimt.cpp @@ -44,18 +44,18 @@ void timelimt_state::timelimt_palette(palette_device &palette) const bit0 = BIT(color_prom[i], 0); bit1 = BIT(color_prom[i], 1); bit2 = BIT(color_prom[i], 2); - int const r = combine_weights(weights_r, bit0, bit1, bit2); + int const r = combine_3_weights(weights_r, bit0, bit1, bit2); // green component bit0 = BIT(color_prom[i], 3); bit1 = BIT(color_prom[i], 4); bit2 = BIT(color_prom[i], 5); - int const g = combine_weights(weights_g, bit0, bit1, bit2); + int const g = combine_3_weights(weights_g, bit0, bit1, bit2); // blue component bit0 = BIT(color_prom[i], 6); bit1 = BIT(color_prom[i], 7); - int const b = combine_weights(weights_b, bit0, bit1); + int const b = combine_2_weights(weights_b, bit0, bit1); palette.set_pen_color(i, rgb_t(r, g, b)); } |