Compare commits

4 Commits

Author SHA1 Message Date
ba998c1482 feat: add gdb support to zba 2023-01-18 23:14:02 -06:00
6db41b55a6 feat: add gdbstub library 2023-01-18 23:14:02 -06:00
c27f487bf0 chore: update dependencies 2023-01-16 02:57:50 -06:00
ae3bb94036 fix(ppu): draw file select sprites in amazing mirror 2023-01-08 01:36:58 -06:00
4 changed files with 9 additions and 4 deletions

View File

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