Previous 199869 Revisions Next

r31443 Monday 28th July, 2014 at 07:28:22 UTC by Oliver Stöneberg
added assert for index out-of-bounds with saturneu -cart test1f (nw)
[src/emu/video]stvvdp2.c

trunk/src/emu/video/stvvdp2.c
r31442r31443
60466046      return (vcount & ~1) | (machine().first_screen()->frame_number() & 1);
60476047
60486048   /* docs says << 1, but according to HW tests it's a typo. */
6049   assert((vcount & 0x1ff) < ARRAY_LENGTH(true_vcount));
60496050   return (true_vcount[vcount & 0x1ff][STV_VDP2_VRES]); // Non-interlace
60506051}
60516052

Previous 199869 Revisions Next


© 1997-2024 The MAME Team