Fix Lightgun reading an undefined pixel color

This commit is contained in:
alyosha-tas 2016-12-07 21:47:04 -05:00 committed by GitHub
parent 89940b85af
commit 097bbee267
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
goto loopout;
short s = xbuf[j * 256 + i];
sum += _currentLuma[s];
if ((s & 0x8000)==0)
sum += _currentLuma[s];
}
}
loopout: