Previous 199869 Revisions Next

r24555 Monday 29th July, 2013 at 12:19:30 UTC by Oliver Stöneberg
fixed array out-of-bounds access in src/mame/drivers/slotcarn.c (nw)
[src/mame/drivers]slotcarn.c

trunk/src/mame/drivers/slotcarn.c
r24554r24555
148148            col |= 0x03;
149149
150150         col = state->m_ram_palette[col & 0x3ff];
151         bitmap.pix32(y, x) = pens[col ? col : (lscnblk ? 8 : 0)];
151         bitmap.pix32(y, x) = pens[col ? col & (NUM_PENS-1) : (lscnblk ? 8 : 0)];
152152
153153         x++;
154154      }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team