mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
[SNES]: Fixed a bug that were causing a row of corrupted tiles during scrolling situations
This commit is contained in:
parent
f916e5968b
commit
14f1e90bed
@ -490,8 +490,8 @@ INLINE void snes_update_line( UINT8 screen, UINT8 color_depth, UINT8 hires, UINT
|
||||
tmap -= ii;
|
||||
wrap_around_x = 0; /* Make sure we don't do this again */
|
||||
}
|
||||
if (tmap > 0x10000)
|
||||
tmap %= 0x10000;
|
||||
//if (tmap > 0x10000) //<- causes corrupt tiles in places, needed?
|
||||
// tmap %= 0x10000;
|
||||
|
||||
vflip = snes_vram[tmap + ii + 1] & 0x80;
|
||||
hflip = snes_vram[tmap + ii + 1] & 0x40;
|
||||
|
Loading…
Reference in New Issue
Block a user