in 01dfbf5afa I broke the disable-sprite-in-leftmost-8-pixels part of the oldppu. this fixes it. fixes #106

This commit is contained in:
zeromus 2020-04-14 16:44:45 -04:00
parent 5d872472ef
commit fadb200856
1 changed files with 6 additions and 1 deletions

View File

@ -1669,7 +1669,12 @@ static void CopySprites(uint8 *target) {
if (!rendersprites) return; //User asked to not display sprites.
if(!SpriteON) return;
for(int i=0;i<256;i++)
int start=0;
if(PPU[1] & 0x04)
start = 8;
for(int i=start;i<256;i++)
{
uint8 t = sprlinebuf[i];
if(!(t&0x80))