From d8975211f543432565270379a0b4ebf277318b38 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 26 Mar 2016 14:59:59 -0700 Subject: GBC palette code --- engine/joypad.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/joypad.asm') 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 -- cgit v1.3.1-sl0p