summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/armedf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/armedf.c')
-rw-r--r--src/mame/video/armedf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/armedf.c b/src/mame/video/armedf.c
index be38158d06e..91e7de663ee 100644
--- a/src/mame/video/armedf.c
+++ b/src/mame/video/armedf.c
@@ -260,7 +260,7 @@ void armedf_state::armedf_drawgfx(bitmap_ind16 &dest_bmp,const rectangle &clip,g
UINT32 code,UINT32 color, UINT32 clut,int flipx,int flipy,int offsx,int offsy,
int transparent_color)
{
- const pen_t *pal = &gfx->machine().pens[gfx->colorbase() + gfx->granularity() * (color % gfx->colors())];
+ const pen_t *pal = &m_palette->pen(gfx->colorbase() + gfx->granularity() * (color % gfx->colors()));
const UINT8 *source_base = gfx->get_data(code % gfx->elements());
int x_index_base, y_index, sx, sy, ex, ey;
int xinc, yinc;