| 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 |
| r24554 | r24555 | |
|---|---|---|
| 148 | 148 | col |= 0x03; |
| 149 | 149 | |
| 150 | 150 | 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)]; | |
| 152 | 152 | |
| 153 | 153 | x++; |
| 154 | 154 | } |
| Previous | 199869 Revisions | Next |