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 2d485bbdd11..f2ebee3e28d 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, rgb_t(r,g,b) );
+ m_palette->set_pen_color( number, rgb_t(r,g,b) );
}
}