summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/zaxxon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/zaxxon.cpp')
-rw-r--r--src/mame/video/zaxxon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/zaxxon.cpp b/src/mame/video/zaxxon.cpp
index 76b11ba6a98..ae7be184bf3 100644
--- a/src/mame/video/zaxxon.cpp
+++ b/src/mame/video/zaxxon.cpp
@@ -38,18 +38,18 @@ void zaxxon_state::zaxxon_palette(palette_device &palette)
bit0 = BIT(color_prom[i], 0);
bit1 = BIT(color_prom[i], 1);
bit2 = BIT(color_prom[i], 2);
- int const r = combine_3_weights(rweights, bit0, bit1, bit2);
+ int const r = combine_weights(rweights, 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_3_weights(gweights, bit0, bit1, bit2);
+ int const g = combine_weights(gweights, bit0, bit1, bit2);
// blue component
bit0 = BIT(color_prom[i], 6);
bit1 = BIT(color_prom[i], 7);
- int const b = combine_2_weights(bweights, bit0, bit1);
+ int const b = combine_weights(bweights, bit0, bit1);
palette.set_pen_color(i, rgb_t(r, g, b));
}