Compare commits
8 Commits
c33e40624b
...
3f470a1edc
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 3f470a1edc | |
Rekai Nyangadzayi Musuka | 65f4285df9 | |
Rekai Nyangadzayi Musuka | a5b34670d8 | |
Rekai Nyangadzayi Musuka | ce1410f79a | |
Rekai Nyangadzayi Musuka | 2cfeb4c72f | |
Rekai Nyangadzayi Musuka | bc3c9d349e | |
Rekai Nyangadzayi Musuka | c27f487bf0 | |
Rekai Nyangadzayi Musuka | ae3bb94036 |
|
@ -1 +1 @@
|
||||||
Subproject commit 2fbd4b228516bf08348a3173f1446c7e8d75540a
|
Subproject commit 2025889b612f345698feff44fc245501bff637e9
|
|
@ -1 +1 @@
|
||||||
Subproject commit 24845b0103e611c108d6bc334231c464e699742c
|
Subproject commit 6b37490ac7285133bf09441850b8102c9728a776
|
|
@ -1 +1 @@
|
||||||
Subproject commit 88edafd00ec25dcc01deb8fc69e9864a16f8717c
|
Subproject commit 6c9ca9025199b145c42a75d10cadb3f97879ee6d
|
|
@ -843,7 +843,12 @@ pub const Ppu = struct {
|
||||||
const is_top_layer = (top_layer >> layer) & 1 == 1;
|
const is_top_layer = (top_layer >> layer) & 1 == 1;
|
||||||
|
|
||||||
if (is_top_layer) {
|
if (is_top_layer) {
|
||||||
self.scanline.btm()[i] = Scanline.Pixel.from(.Background, bgr555); // this is intentional
|
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
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue