Previous 199869 Revisions Next

r31555 Friday 8th August, 2014 at 09:23:43 UTC by Oliver Stöneberg
clamping pen access in gameplan_state::screen_update_leprechn() (nw)
[src/mame/video]gameplan.c

trunk/src/mame/video/gameplan.c
r31554r31555
125125      UINT8 y = offs >> 8;
126126      UINT8 x = offs & 0xff;
127127
128      bitmap.pix32(y, x) = pens[m_videoram[offs]];
128      bitmap.pix32(y, x) = pens[m_videoram[offs] & (LEPRECHN_NUM_PENS-1)];
129129   }
130130
131131   return 0;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team