summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/i8244.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/video/i8244.c')
-rw-r--r--src/emu/video/i8244.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/i8244.c b/src/emu/video/i8244.c
index a2cc0d48075..49846ebd95f 100644
--- a/src/emu/video/i8244.c
+++ b/src/emu/video/i8244.c
@@ -180,7 +180,7 @@ void i8244_device::device_reset()
}
-void i8244_device::palette_init()
+PALETTE_INIT_MEMBER(i8244_device, i8244)
{
static const UINT8 i8244_colors[3*16] =
{
@@ -204,7 +204,7 @@ void i8244_device::palette_init()
for ( int i = 0; i < 16; i++ )
{
- palette_set_color_rgb( machine(), i, i8244_colors[i*3], i8244_colors[i*3+1], i8244_colors[i*3+2] );
+ palette.set_pen_color( i, i8244_colors[i*3], i8244_colors[i*3+1], i8244_colors[i*3+2] );
}
}