Backport libgambatte/ppu: superflous mask

This commit is contained in:
twinaphex 2015-02-18 00:21:50 +01:00
parent 18ee9246cc
commit 94cdd85a99

View File

@ -609,7 +609,7 @@ namespace M3Loop {
} while (i >= 0 && static_cast<int>(p.spriteList[i].spx) > xpos - 8);
} else {
unsigned char idtab[8] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
const unsigned bgenmask = p.lcdc << 7 & 0x80;
const unsigned bgenmask = p.lcdc << 7;
do {
unsigned n;