diff options
Diffstat (limited to 'src/mame/video/gaelco2.c')
-rw-r--r-- | src/mame/video/gaelco2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/gaelco2.c b/src/mame/video/gaelco2.c index 103dcaa7c5a..0ff0810e290 100644 --- a/src/mame/video/gaelco2.c +++ b/src/mame/video/gaelco2.c @@ -234,7 +234,7 @@ WRITE16_MEMBER(gaelco2_state::gaelco2_palette_w) b = pal5bit(b); /* update game palette */ - palette_set_color(machine(), 4096*0 + offset, MAKE_RGB(r, g, b)); + palette_set_color(machine(), 4096*0 + offset, rgb_t(r, g, b)); /* update shadow/highligh palettes */ for (i = 1; i < 16; i++){ @@ -246,7 +246,7 @@ WRITE16_MEMBER(gaelco2_state::gaelco2_palette_w) auxg = ADJUST_COLOR(g + pen_color_adjust[i]); auxb = ADJUST_COLOR(b + pen_color_adjust[i]); - palette_set_color(machine(), 4096*i + offset, MAKE_RGB(auxr, auxg, auxb)); + palette_set_color(machine(), 4096*i + offset, rgb_t(auxr, auxg, auxb)); } } |