Compare commits

2 Commits

Author SHA1 Message Date
9a58c248f3 feat: add gdb support to zba 2023-01-03 16:58:34 -06:00
551124301a feat: add gdbstub library 2023-01-03 16:57:12 -06:00
4 changed files with 4 additions and 9 deletions

View File

@@ -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;
} }
}, },