Compare commits

..

6 Commits

4 changed files with 4 additions and 9 deletions

@ -1 +1 @@
Subproject commit 2025889b612f345698feff44fc245501bff637e9
Subproject commit 2fbd4b228516bf08348a3173f1446c7e8d75540a

@ -1 +1 @@
Subproject commit 6b37490ac7285133bf09441850b8102c9728a776
Subproject commit 24845b0103e611c108d6bc334231c464e699742c

@ -1 +1 @@
Subproject commit 6c9ca9025199b145c42a75d10cadb3f97879ee6d
Subproject commit 88edafd00ec25dcc01deb8fc69e9864a16f8717c

View File

@ -843,12 +843,7 @@ pub const Ppu = struct {
const is_top_layer = (top_layer >> layer) & 1 == 1;
if (is_top_layer) {
const pixel = self.scanline.btm()[i];
// FIXME: Can't I do this check ealier? Test Amazing Mirror File Select, bld_demo.gba
if (!pixel.isSet())
self.scanline.btm()[i] = Scanline.Pixel.from(.Background, bgr555); // this is intentional
self.scanline.btm()[i] = Scanline.Pixel.from(.Background, bgr555); // this is intentional
return;
}
},