summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pk8020.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/pk8020.c')
-rw-r--r--src/mess/machine/pk8020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/pk8020.c b/src/mess/machine/pk8020.c
index 8ca5c4f05c6..fbb20425edd 100644
--- a/src/mess/machine/pk8020.c
+++ b/src/mess/machine/pk8020.c
@@ -60,7 +60,7 @@ WRITE8_MEMBER(pk8020_state::sysreg_w)
UINT8 r = ((color & 0x04) ? 0xC0 : 0) + i;
UINT8 g = ((color & 0x02) ? 0xC0 : 0) + i;
UINT8 b = ((color & 0x01) ? 0xC0 : 0) + i;
- palette_set_color( machine(), number, MAKE_RGB(r,g,b) );
+ palette_set_color( machine(), number, rgb_t(r,g,b) );
}
}