summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/cloud9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/cloud9.cpp')
-rw-r--r--src/mame/video/cloud9.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/cloud9.cpp b/src/mame/video/cloud9.cpp
index f126bf98acb..af1d5d5c6d1 100644
--- a/src/mame/video/cloud9.cpp
+++ b/src/mame/video/cloud9.cpp
@@ -66,19 +66,19 @@ WRITE8_MEMBER(cloud9_state::cloud9_paletteram_w)
bit0 = (~r >> 0) & 0x01;
bit1 = (~r >> 1) & 0x01;
bit2 = (~r >> 2) & 0x01;
- r = combine_weights(m_rweights, bit0, bit1, bit2);
+ r = combine_3_weights(m_rweights, bit0, bit1, bit2);
/* green component (inverted) */
bit0 = (~g >> 0) & 0x01;
bit1 = (~g >> 1) & 0x01;
bit2 = (~g >> 2) & 0x01;
- g = combine_weights(m_gweights, bit0, bit1, bit2);
+ g = combine_3_weights(m_gweights, bit0, bit1, bit2);
/* blue component (inverted) */
bit0 = (~b >> 0) & 0x01;
bit1 = (~b >> 1) & 0x01;
bit2 = (~b >> 2) & 0x01;
- b = combine_weights(m_bweights, bit0, bit1, bit2);
+ b = combine_3_weights(m_bweights, bit0, bit1, bit2);
m_palette->set_pen_color(offset & 0x3f, rgb_t(r, g, b));
}