Previous 199869 Revisions Next

r32930 Friday 24th October, 2014 at 16:01:36 UTC by Oliver Stöneberg
added assert for index out-of-bounds access with jolypark (nw)
[src/mame/drivers]spinb.c

trunk/src/mame/drivers/spinb.c
r241441r241442
578578         UINT16 *p = &bitmap.pix16(sy++);
579579         for(x = 0; x < 16; x++)
580580         {
581            assert((ma + 0x200) > 0 && (ma + 0x200) < ARRAY_LENGTH(m_dmdram));
581582            gfx = m_dmdram[ma+0x200];
582583            gfx1 = m_dmdram[ma++];
583584


Previous 199869 Revisions Next


© 1997-2024 The MAME Team