Compare commits
6 Commits
3f470a1edc
...
c33e40624b
| Author | SHA1 | Date | |
|---|---|---|---|
| c33e40624b | |||
| cf179c6d8e | |||
| c082df387a | |||
| 8980edacbe | |||
| afc597fd05 | |||
| f89f448ad9 |
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