Update hardware.inc to 5.1.0

This commit is contained in:
Rangi42
2025-06-29 15:53:34 -04:00
committed by Rangi
parent 8f5a8c5b5b
commit 5abf8d01fb
84 changed files with 845 additions and 696 deletions

View File

@@ -515,16 +515,16 @@ Function171b4b:
Function171b85:
ld hl, hJoyPressed
ld a, [hl]
and B_BUTTON
and PAD_B
jp nz, Function171b9f
ld a, [hl]
and A_BUTTON
and PAD_A
jp nz, Function171bbd
ld a, [hl]
and D_UP
and PAD_UP
jr nz, asm_171ba5
ld a, [hl]
and D_DOWN
and PAD_DOWN
jr nz, asm_171baf
ret
@@ -562,10 +562,10 @@ Function171bbd:
Function171bcc:
ld hl, hJoyPressed
ld a, [hl]
and B_BUTTON
and PAD_B
jp nz, Function171bdc
ld a, [hl]
and A_BUTTON
and PAD_A
jp nz, Function171beb
ret