Compare commits
2 Commits
ba998c1482
...
9a58c248f3
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a58c248f3 | |||
| 551124301a |
Submodule lib/SDL.zig updated: 2025889b61...2fbd4b2285
Submodule lib/known-folders updated: 6b37490ac7...24845b0103
Submodule lib/zig-clap updated: 6c9ca90251...88edafd00e
@@ -843,12 +843,7 @@ 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];
|
self.scanline.btm()[i] = Scanline.Pixel.from(.Background, bgr555); // this is intentional
|
||||||
|
|
||||||
// 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;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user