summaryrefslogtreecommitdiff
path: root/home/joypad.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/joypad.asm')
-rw-r--r--home/joypad.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/joypad.asm b/home/joypad.asm
index 2002bb29..9948b6e7 100644
--- a/home/joypad.asm
+++ b/home/joypad.asm
@@ -7,9 +7,9 @@ ReadJoypad::
ld c, 0
ld [rJOYP], a
- rept 6
+ REPT 6
ld a, [rJOYP]
- endr
+ ENDR
cpl
and %1111
swap a
@@ -17,9 +17,9 @@ ReadJoypad::
ld a, 1 << 4 ; select button keys
ld [rJOYP], a
- rept 10
+ REPT 10
ld a, [rJOYP]
- endr
+ ENDR
cpl
and %1111
or b