diff options
Diffstat (limited to 'src/mame/video/mappy.c')
-rw-r--r-- | src/mame/video/mappy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/mappy.c b/src/mame/video/mappy.c index b14c7d173db..b9d8bf95c21 100644 --- a/src/mame/video/mappy.c +++ b/src/mame/video/mappy.c @@ -69,7 +69,7 @@ PALETTE_INIT_MEMBER(mappy_state,superpac) 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 */ @@ -129,7 +129,7 @@ PALETTE_INIT_MEMBER(mappy_state,mappy) 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 */ @@ -205,7 +205,7 @@ PALETTE_INIT_MEMBER(mappy_state,phozon) bit3 = (color_prom[i + 0x200] >> 3) & 0x01; b = combine_4_weights(bweights, bit0, bit1, bit2, bit3); - 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 */ |