Previous 15994 Revisions Next

r5405 Wednesday 12th August, 2009 at 00:09:44 UTC by Angelo Salese
[SNES]: Fixed a bug that were causing a row of corrupted tiles during scrolling situations
[src/mame/video]snes.c

src/mame/video/snes.c
r5404r5405
490490         tmap -= ii;
491491         wrap_around_x = 0;   /* Make sure we don't do this again */
492492      }
493      if (tmap > 0x10000)
494         tmap %= 0x10000;
493      //if (tmap > 0x10000) //<- causes corrupt tiles in places, needed?
494      //   tmap %= 0x10000;
495495
496496      vflip = snes_vram[tmap + ii + 1] & 0x80;
497497      hflip = snes_vram[tmap + ii + 1] & 0x40;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team