diff options
Diffstat (limited to 'src/mame/video/funworld.cpp')
-rw-r--r-- | src/mame/video/funworld.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/funworld.cpp b/src/mame/video/funworld.cpp index 82345499aa2..cd8b298c8af 100644 --- a/src/mame/video/funworld.cpp +++ b/src/mame/video/funworld.cpp @@ -70,16 +70,16 @@ void funworld_state::funworld_palette(palette_device &palette) const bit0 = BIT(color_prom[i], 0); bit1 = BIT(color_prom[i], 1); bit2 = BIT(color_prom[i], 2); - int const r = combine_weights(weights_r, bit0, bit1, bit2); + int const r = combine_3_weights(weights_r, bit0, bit1, bit2); // blue component bit0 = BIT(color_prom[i], 3); bit1 = BIT(color_prom[i], 4); bit2 = BIT(color_prom[i], 5); - int const b = combine_weights(weights_b, bit0, bit1, bit2); + int const b = combine_3_weights(weights_b, bit0, bit1, bit2); // green component bit0 = BIT(color_prom[i], 6); bit1 = BIT(color_prom[i], 7); - int const g = combine_weights(weights_g, bit0, bit1); + int const g = combine_2_weights(weights_g, bit0, bit1); palette.set_pen_color(i, rgb_t(r, g, b)); } @@ -110,9 +110,9 @@ WRITE8_MEMBER(funworld_state::funworld_colorram_w) TILE_GET_INFO_MEMBER(funworld_state::get_bg_tile_info) { /* - bits - - 7654 3210 - xxxx ---- tiles color. - ---- xxxx unused. + 7654 3210 + xxxx ---- tiles color. + ---- xxxx unused. */ int offs = tile_index; int attr = m_videoram[offs] + (m_colorram[offs] << 8); |