summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/fastfred.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/fastfred.cpp')
-rw-r--r--src/mame/video/fastfred.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/fastfred.cpp b/src/mame/video/fastfred.cpp
index 13ae8f0c554..73aad7722d0 100644
--- a/src/mame/video/fastfred.cpp
+++ b/src/mame/video/fastfred.cpp
@@ -47,21 +47,21 @@ void fastfred_state::fastfred_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_weights(rweights, bit0, bit1, bit2, bit3);
+ int const r = combine_4_weights(rweights, 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_weights(gweights, bit0, bit1, bit2, bit3);
+ int const g = combine_4_weights(gweights, 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_weights(bweights, bit0, bit1, bit2, bit3);
+ int const b = combine_4_weights(bweights, bit0, bit1, bit2, bit3);
palette.set_indirect_color(i, rgb_t(r, g, b));
}