summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/fromance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/fromance.c')
-rw-r--r--src/mame/video/fromance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/fromance.c b/src/mame/video/fromance.c
index 5b016e2096a..f38cf9a8e82 100644
--- a/src/mame/video/fromance.c
+++ b/src/mame/video/fromance.c
@@ -162,7 +162,7 @@ WRITE8_MEMBER(fromance_state::fromance_paletteram_w)
/* compute R,G,B */
palword = (m_local_paletteram[offset | 1] << 8) | m_local_paletteram[offset & ~1];
- palette_set_color_rgb(machine(), offset / 2, pal5bit(palword >> 10), pal5bit(palword >> 5), pal5bit(palword >> 0));
+ m_palette->set_pen_color(offset / 2, pal5bit(palword >> 10), pal5bit(palword >> 5), pal5bit(palword >> 0));
}