git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 226613dd79486a95e8a65af8d2211389feaa6c42
parent e1890cb8a64741488abe497e8729e1cbd513bffe
Author: Toxa <untoxa@mail.ru>
Date:   Sat, 27 Apr 2024 01:15:15 +0300

SMS: fix MD 3/6-button pad detection in joypad()

Diffstat:
Mgbdk-lib/libc/targets/z80/sms/pad.s2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gbdk-lib/libc/targets/z80/sms/pad.s b/gbdk-lib/libc/targets/z80/sms/pad.s @@ -18,7 +18,7 @@ _joypad:: in a, (.JOY_PORT1) ld h, a and #(.JOY_P1_LEFT | .JOY_P1_RIGHT) - jp z, 1$ + jp nz, 1$ ld a, h ; three button controller detected cpl

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.