diff options
Diffstat (limited to 'src/mame/video/rallyx.c')
-rw-r--r-- | src/mame/video/rallyx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/rallyx.c b/src/mame/video/rallyx.c index 7c467a74c1f..ceaf292729f 100644 --- a/src/mame/video/rallyx.c +++ b/src/mame/video/rallyx.c @@ -95,7 +95,7 @@ PALETTE_INIT_MEMBER(rallyx_state,rallyx) 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 now points to the beginning of the lookup table */ @@ -161,7 +161,7 @@ PALETTE_INIT_MEMBER(rallyx_state,jungler) 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)); } /* star pens */ @@ -185,7 +185,7 @@ PALETTE_INIT_MEMBER(rallyx_state,jungler) bit1 = ((i - 0x20) >> 5) & 0x01; b = combine_2_weights(bweights_star, 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 now points to the beginning of the lookup table */ |