Skip to content

Commit 491b5ad

Browse files
committed
specify low byte for negative numbers
1 parent 012532d commit 491b5ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/keyboard/poll.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ readKbHighScoreEntry:
226226
inc @kbInputThrottle
227227
bne @noKeyPressed
228228

229-
lda #-4
229+
lda #<-4
230230
bne @storeThrottle
231231

232232
@newInput:
233233
stx kbHeldInput
234-
lda #-16
234+
lda #<-16
235235

236236
@storeThrottle:
237237
sta @kbInputThrottle

0 commit comments

Comments
 (0)