Compare commits
4 Commits
9a58c248f3
...
ba998c1482
| Author | SHA1 | Date | |
|---|---|---|---|
| ba998c1482 | |||
| 6db41b55a6 | |||
| c27f487bf0 | |||
| ae3bb94036 |
Submodule lib/SDL.zig updated: 2fbd4b2285...2025889b61
Submodule lib/known-folders updated: 24845b0103...6b37490ac7
Submodule lib/zig-clap updated: 88edafd00e...6c9ca90251
@@ -843,7 +843,12 @@ pub const Ppu = struct {
|
||||
const is_top_layer = (top_layer >> layer) & 1 == 1;
|
||||
|
||||
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;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user