Don't set background color every frame.

For some reason, this causes graphical glitches on real hardware.
This commit is contained in:
Colin McMillen 2015-06-08 23:25:20 -04:00
parent 485da7fcc6
commit 07b3a531cb

View File

@ -235,6 +235,8 @@ InitWorld:
bne -
SetA8Bit
jsr SetBackgroundColor
; Initial enemy ship-spawn cooldown.
lda #30
sta enemyShipSpawnCooldown
@ -311,7 +313,6 @@ MainLoop:
++
jsr UpdateSprites
jsr FillSecondarySpriteTable
jsr SetBackgroundColor
bra MainLoop