diff options
Diffstat (limited to 'src/mame/video/champbas.c')
-rw-r--r-- | src/mame/video/champbas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/champbas.c b/src/mame/video/champbas.c index a600c08b4bd..78f568a912c 100644 --- a/src/mame/video/champbas.c +++ b/src/mame/video/champbas.c @@ -60,7 +60,7 @@ PALETTE_INIT_MEMBER(champbas_state,champbas) bit1 = (color_prom[i] >> 7) & 0x01; b = combine_2_weights(bweights, bit0, bit1); - colortable_palette_set_color(machine().colortable, i, MAKE_RGB(r, g, b)); + colortable_palette_set_color(machine().colortable, i, rgb_t(r, g, b)); } color_prom += 0x20; @@ -105,7 +105,7 @@ PALETTE_INIT_MEMBER(champbas_state,exctsccr) bit2 = (color_prom[i] >> 7) & 0x01; b = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; - colortable_palette_set_color(machine().colortable, i, MAKE_RGB(r, g, b)); + colortable_palette_set_color(machine().colortable, i, rgb_t(r, g, b)); } /* color_prom now points to the beginning of the lookup table */ |