summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/bking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/bking.cpp')
-rw-r--r--src/mame/video/bking.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/bking.cpp b/src/mame/video/bking.cpp
index 59d43fbc4dc..678482e5d7b 100644
--- a/src/mame/video/bking.cpp
+++ b/src/mame/video/bking.cpp
@@ -62,18 +62,18 @@ void bking_state::bking_palette(palette_device &palette) const
bit0 = (color_prom[pen] >> 0) & 0x01;
bit1 = (color_prom[pen] >> 1) & 0x01;
bit2 = (color_prom[pen] >> 2) & 0x01;
- int const r = combine_weights(rweights, bit0, bit1, bit2);
+ int const r = combine_3_weights(rweights, bit0, bit1, bit2);
// green component
bit0 = (color_prom[pen] >> 3) & 0x01;
bit1 = (color_prom[pen] >> 4) & 0x01;
bit2 = (color_prom[pen] >> 5) & 0x01;
- int const g = combine_weights(gweights, bit0, bit1, bit2);
+ int const g = combine_3_weights(gweights, bit0, bit1, bit2);
// blue component
bit0 = (color_prom[pen] >> 6) & 0x01;
bit1 = (color_prom[pen] >> 7) & 0x01;
- int const b = combine_weights(gweights, bit0, bit1);
+ int const b = combine_2_weights(gweights, bit0, bit1);
palette.set_pen_color(i, rgb_t(r, g, b));
}