summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k053936.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k053936.c')
-rw-r--r--src/mame/video/k053936.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/k053936.c b/src/mame/video/k053936.c
index b7c7d1d6382..7d0bb15a7e6 100644
--- a/src/mame/video/k053936.c
+++ b/src/mame/video/k053936.c
@@ -460,7 +460,7 @@ INLINE void K053936GP_copyroz32clip( running_machine &machine,
int tilebpp, int blend, int alpha, int clip, int pixeldouble_output )
{
static const int colormask[8]={1,3,7,0xf,0x1f,0x3f,0x7f,0xff};
-
+ driver_device *state = machine.driver_data<driver_device>();
int cy, cx;
int ecx;
int src_pitch, incxy, incxx;
@@ -506,7 +506,7 @@ INLINE void K053936GP_copyroz32clip( running_machine &machine,
ecx = tx = -tx;
tilebpp = (tilebpp-1) & 7;
- pal_base = machine.pens;
+ pal_base = state->m_palette->pens();
cmask = colormask[tilebpp];
src_pitch = src_bitmap.rowpixels();