diff options
Diffstat (limited to 'src/mame/video/yunsung8.c')
-rw-r--r-- | src/mame/video/yunsung8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/yunsung8.c b/src/mame/video/yunsung8.c index bfbc0f7d059..51b9aa6e132 100644 --- a/src/mame/video/yunsung8.c +++ b/src/mame/video/yunsung8.c @@ -79,7 +79,7 @@ WRITE8_MEMBER(yunsung8_state::yunsung8_videoram_w) color = RAM[offset & ~1] | (RAM[offset | 1] << 8); /* BBBBBGGGGGRRRRRx */ - palette_set_color_rgb(machine(), offset / 2 + (bank ? 0x400 : 0), pal5bit(color >> 0), pal5bit(color >> 5), pal5bit(color >> 10)); + m_palette->set_pen_color(offset / 2 + (bank ? 0x400 : 0), pal5bit(color >> 0), pal5bit(color >> 5), pal5bit(color >> 10)); } else { |