Skip to content

Commit 14eeab3

Browse files
Merge pull request #77 from zohassadar/branch2jump
fix: branch instruction wants to go too far
2 parents 4831ac0 + 36a9320 commit 14eeab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/playstate/updatestats.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ checkLevelUp:
122122
sta outOfDateRenderFlags
123123

124124
@lineLoop: dex
125-
bne incrementLines
126-
125+
beq checkLinecap
126+
jmp incrementLines
127127

128128
checkLinecap: ; set linecapState
129129
; check if enabled

0 commit comments

Comments
 (0)