| Previous | 199869 Revisions | Next |
| r17395 Wednesday 22nd August, 2012 at 14:03:07 UTC by Angelo Salese |
|---|
| (MESS) Fixed vertical sprite wrap-around in SNES driver [Angelo Salese] |
| [src/mame/video] | snes.c |
| r17394 | r17395 | |
|---|---|---|
| 1013 | 1013 | pal = oam_spritelist[active_sprite].pal; |
| 1014 | 1014 | |
| 1015 | 1015 | /* Adjust y, if past maximum position (for sprites which overlap between top & bottom) */ |
| 1016 | if (y >= 256 * snes_ppu.interlace) | |
| 1017 | y -= 256 * snes_ppu.interlace; | |
| 1016 | if (y >= (0x100 - 16) * snes_ppu.interlace) | |
| 1017 | y -= (0x100) * snes_ppu.interlace; | |
| 1018 | 1018 | |
| 1019 | 1019 | if (curline >= y && curline < (y + (height << 3))) |
| 1020 | 1020 | { |
| Previous | 199869 Revisions | Next |