aboutsummaryrefslogtreecommitdiffstats
path: root/engine/joypad.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-03-26 15:12:38 -0700
committerYamaArashi <shadow962@live.com>2016-03-26 15:12:38 -0700
commit268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9 (patch)
treed060f3f19878ebe592af6103d5ec5241a206bffd /engine/joypad.asm
parentMore audio4 documentation. (diff)
parentGBC palette code (diff)
downloadpokeyellow-268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9.tar.gz
pokeyellow-268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9.tar.xz
pokeyellow-268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9.zip
Merge pull request #7 from YamaArashi/master
GBC palette code
Diffstat (limited to 'engine/joypad.asm')
-rw-r--r--engine/joypad.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/joypad.asm b/engine/joypad.asm
index f73d77b2..2b85cb61 100644
--- a/engine/joypad.asm
+++ b/engine/joypad.asm
@@ -2,10 +2,10 @@ ReadJoypad_:: ; c000 (3:4000)
; Poll joypad input.
; Unlike the hardware register, button
; presses are indicated by a set bit.
- ld a, [hReadJoypad]
+ ld a, [hDisableJoypadPolling]
and a
ret nz
-
+
ld a, 1 << 5 ; select direction keys
;ld c, 0