Skip to content

Commit

Permalink
Small fix to title screen to avoid rainbows
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaSquirrel committed Feb 4, 2019
1 parent b90f114 commit 2c71fb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/screens.s
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
jsr DoGraphicUpload
lda #GraphicsUpload::TITLE_NAM
jsr DoGraphicUpload
lda #GraphicsUpload::TITLE_PAL
jsr DoGraphicUpload
; Clear sprites too
jsr ClearOAM
lda #2
Expand Down Expand Up @@ -72,6 +70,10 @@ DontHaveExtraRAM:

; Turn on the display and get it ready
jsr WaitVblank
; (Upload palette here instead of up there to avoid rainbow smears)
lda #GraphicsUpload::TITLE_PAL
jsr DoGraphicUpload

lda #BG_ON
sta PPUMASK
lda #VBLANK_NMI | NT_2000 | OBJ_8X8 | BG_0000 | OBJ_0000
Expand Down

0 comments on commit 2c71fb6

Please sign in to comment.