Skip to content

Commit

Permalink
snake demo: fix movement
Browse files Browse the repository at this point in the history
  • Loading branch information
MESYETI committed Mar 10, 2024
1 parent 8823733 commit 53d320e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/snake.asm
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ game:
jnzb .render_snake
in b a
ldsi c 0x01 ; Key down event
cmp b c
jnzb .ignore_key
in b a ; Key code in B

Expand Down

0 comments on commit 53d320e

Please sign in to comment.