Compare commits
4 Commits
9a58c248f3
...
ba998c1482
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | ba998c1482 | |
Rekai Nyangadzayi Musuka | 6db41b55a6 | |
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