improve code for sprite 0 hit flag updating of ppu.