summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/mystston.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/mystston.cpp')
-rw-r--r--src/mame/video/mystston.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/mystston.cpp b/src/mame/video/mystston.cpp
index db8335090e8..efa90c607ef 100644
--- a/src/mame/video/mystston.cpp
+++ b/src/mame/video/mystston.cpp
@@ -100,18 +100,18 @@ void mystston_state::set_palette()
bit0 = (data >> 0) & 0x01;
bit1 = (data >> 1) & 0x01;
bit2 = (data >> 2) & 0x01;
- r = combine_3_weights(weights_rg, bit0, bit1, bit2);
+ r = combine_weights(weights_rg, bit0, bit1, bit2);
/* green component */
bit0 = (data >> 3) & 0x01;
bit1 = (data >> 4) & 0x01;
bit2 = (data >> 5) & 0x01;
- g = combine_3_weights(weights_rg, bit0, bit1, bit2);
+ g = combine_weights(weights_rg, bit0, bit1, bit2);
/* blue component */
bit0 = (data >> 6) & 0x01;
bit1 = (data >> 7) & 0x01;
- b = combine_2_weights(weights_b, bit0, bit1);
+ b = combine_weights(weights_b, bit0, bit1);
m_palette->set_pen_color(i, rgb_t(r, g, b));
}