Don't set background color every frame.
For some reason, this causes graphical glitches on real hardware.
This commit is contained in:
parent
485da7fcc6
commit
07b3a531cb
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user