diff options
Diffstat (limited to 'src/ppu.rs')
-rw-r--r-- | src/ppu.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -531,6 +531,7 @@ impl<'a> PPU<'a> { /* clear vblank, sprite zero hit & overflow */ self.ppustatus &= !(PPU::FLAG_VBLANK | PPU::FLAG_SPRITE_ZERO | PPU::FLAG_OVERFLOW); + self.bg_pixel = 0; } } } else if self.scanline == 241 && cycle == 1 { |