summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/astrocde.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/astrocde.c')
-rw-r--r--src/mame/video/astrocde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/astrocde.c b/src/mame/video/astrocde.c
index df6c59245b1..bb20e4cbb59 100644
--- a/src/mame/video/astrocde.c
+++ b/src/mame/video/astrocde.c
@@ -104,7 +104,7 @@ void astrocde_state::palette_init()
g = MIN(g, 255);
b = MAX(b, 0);
b = MIN(b, 255);
- palette_set_color(machine(), color * 16 + luma, MAKE_RGB(r, g, b));
+ palette_set_color(machine(), color * 16 + luma, rgb_t(r, g, b));
}
}
}
@@ -150,7 +150,7 @@ PALETTE_INIT_MEMBER(astrocde_state,profpac)
bit3 = (i >> 11) & 0x01;
r = combine_4_weights(weights, bit0, bit1, bit2, bit3);
- palette_set_color(machine(), i, MAKE_RGB(r, g, b));
+ palette_set_color(machine(), i, rgb_t(r, g, b));
}
}