| Previous | 199869 Revisions | Next |
| r28752 Thursday 20th March, 2014 at 09:58:24 UTC by Oliver Stöneberg |
|---|
| added assert for nbmj8688.c AddressSanitizer heap-buffer-overflow (nw) |
| [src/emu/video] | hd61830.c |
| r28751 | r28752 | |
|---|---|---|
| 380 | 380 | for (int x = 0; x < m_hp; x++) |
| 381 | 381 | { |
| 382 | 382 | bitmap.pix16(y, (sx * m_hp) + x) = BIT(data1, x); |
| 383 | assert(y >= 0 && y < bitmap.height()); | |
| 384 | assert(((sx * m_hp) + x + m_hp) >= 0 && ((sx * m_hp) + x + m_hp) < bitmap.width()); | |
| 383 | 385 | bitmap.pix16(y, (sx * m_hp) + x + m_hp) = BIT(data2, x); |
| 384 | 386 | } |
| 385 | 387 | } |
| Previous | 199869 Revisions | Next |