Compare commits
8 Commits
c33e40624b
...
3f470a1edc
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f470a1edc | |||
| 65f4285df9 | |||
| a5b34670d8 | |||
| ce1410f79a | |||
| 2cfeb4c72f | |||
| bc3c9d349e | |||
| 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