I have a strange bug in mesen, that I can also reproduce in real NES. I have "ppu_Off" subroutine that does
But it does not seem to turn off the render and when I reload palette, I have garbage on the screen for a frame. I do it just after NMI is done, and there is nothing in NMI except OAM DMA and scroll reset. Is there anything I'm missing?
Code:
lda #0
sta PPU_MASK
sta PPU_MASK
But it does not seem to turn off the render and when I reload palette, I have garbage on the screen for a frame. I do it just after NMI is done, and there is nothing in NMI except OAM DMA and scroll reset. Is there anything I'm missing?