projects
/
ld45_start_nothing
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sortof bounds-check while moving
[ld45_start_nothing]
/
src
/
keyb.inc
diff --git
a/src/keyb.inc
b/src/keyb.inc
index
6ecb5d9
..
abd38d0
100644
(file)
--- a/
src/keyb.inc
+++ b/
src/keyb.inc
@@
-14,6
+14,6
@@
SC_SPACE equ 57
; carry set if key is pressed
%macro check_key 1
mov ebx, keystate + %1
; carry set if key is pressed
%macro check_key 1
mov ebx, keystate + %1
- mov al, [ebx]
- add al, 0xff
+ mov bl, [ebx]
+ add bl, 0xff
%endmacro
%endmacro