Skip to content

Commit 8df636a

Browse files
committed
darkmode: save 5 bytes by ending on preferred ppuctrl value
1 parent 5a161c7 commit 8df636a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/gamemodestate/initbackground.asm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,7 @@ drawDarkMode:
283283
bne @darkTiles
284284
inx
285285
bne @darkLoop
286-
@ret:
287-
lda currentPpuCtrl
288-
sta PPUCTRL
289-
rts
286+
@ret: rts
290287

291288

292289
drawHorz = $00

0 commit comments

Comments
 (0)