Previous 199869 Revisions Next

r31580 Sunday 10th August, 2014 at 03:37:33 UTC by Oliver Stöneberg
added assert for index out-of-bounds access with rcdino4 (nw)
[src/mame/drivers]funworld.c

trunk/src/mame/drivers/funworld.c
r31579r31580
64186418      while (j < 0x100);
64196419
64206420      j &= 0xff;
6421      do {} while (!rcdino4_keys80[++i - 0x81]);
6421      do {
6422         assert((i+1 - 0x81) >= 0 && (i+1 - 0x81) < ARRAY_LENGTH(rcdino4_keys80));
6423      } while (!rcdino4_keys80[++i - 0x81]);
64226424
64236425      if ((i == 0xa4)
64246426         || (i == 0xb0)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team