summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/compgolf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/compgolf.c')
-rw-r--r--src/mame/video/compgolf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/compgolf.c b/src/mame/video/compgolf.c
index 3d472291d0b..e6e9f886172 100644
--- a/src/mame/video/compgolf.c
+++ b/src/mame/video/compgolf.c
@@ -30,7 +30,7 @@ void compgolf_state::palette_init()
bit2 = (color_prom[i] >> 7) & 0x01;
b = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2;
- palette_set_color(machine(), i, MAKE_RGB(r,g,b));
+ palette_set_color(machine(), i, rgb_t(r,g,b));
}
}