From f70cf21f38401672b775ec6f8aabf356581201fc Mon Sep 17 00:00:00 2001 From: sinamas Date: Mon, 25 Feb 2013 20:50:41 +0100 Subject: [PATCH] libgambatte/ppu: superflous mask --- libgambatte/src/video/ppu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgambatte/src/video/ppu.cpp b/libgambatte/src/video/ppu.cpp index 4cd04af1..50227de5 100644 --- a/libgambatte/src/video/ppu.cpp +++ b/libgambatte/src/video/ppu.cpp @@ -624,7 +624,7 @@ static void doFullTilesUnrolledCgb(PPUPriv &p, const int xend, uint_least32_t *c } while (i >= 0 && 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 { int n;