Compare commits
8 Commits
c33e40624b
...
3f470a1edc
Author | SHA1 | Date | |
---|---|---|---|
3f470a1edc | |||
65f4285df9 | |||
a5b34670d8 | |||
ce1410f79a | |||
2cfeb4c72f | |||
bc3c9d349e | |||
c27f487bf0 | |||
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) {
|
||||||
|
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;
|
return;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user