diff options
Diffstat (limited to 'src/mame/video/snookr10.c')
-rw-r--r-- | src/mame/video/snookr10.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/snookr10.c b/src/mame/video/snookr10.c index 8e2f6125720..11c8bd4374c 100644 --- a/src/mame/video/snookr10.c +++ b/src/mame/video/snookr10.c @@ -81,7 +81,7 @@ void snookr10_state::palette_init() bit1 = (color_prom[i] >> 7) & 0x01; g = combine_2_weights(weights_g, bit0, bit1); - palette_set_color(machine(), i, MAKE_RGB(r,g,b)); + palette_set_color(machine(), i, rgb_t(r,g,b)); } } @@ -150,7 +150,7 @@ PALETTE_INIT_MEMBER(snookr10_state, apple10) /* encrypted color matrix */ cn = BITSWAP8(i,4,5,6,7,2,3,0,1); - palette_set_color(machine(), cn, MAKE_RGB(r,g,b)); + palette_set_color(machine(), cn, rgb_t(r,g,b)); } } @@ -219,7 +219,7 @@ PALETTE_INIT_MEMBER(snookr10_state, crystalc) /* encrypted color matrix */ cn = BITSWAP8(i,7,5,6,4,3,2,1,0); - palette_set_color(machine(), cn, MAKE_RGB(r,g,b)); + palette_set_color(machine(), cn, rgb_t(r,g,b)); } } |