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

@@ -357,7 +357,7 @@ endc
jr nz, .restart
; Check if we've pressed the B button to cancel
ldh a, [hMGJoypadReleased]
bit B_BUTTON_F, a
bit B_PAD_B, a
jr z, .continue
ld a, MG_CANCELED
ldh [hMGStatusFlags], a
@@ -859,7 +859,7 @@ InitializeIRCommunicationRoles:
ld c, LOW(rRP)
; Check if we've pressed the B button to cancel
ldh a, [hMGJoypadReleased]
bit B_BUTTON_F, a
bit B_PAD_B, a
jr z, .not_canceled
ld a, MG_CANCELED
ldh [hMGStatusFlags], a
@@ -867,7 +867,7 @@ InitializeIRCommunicationRoles:
.not_canceled
; Check if we've pressed the A button to start sending
bit A_BUTTON_F, a
bit B_PAD_A, a
jr nz, SendIRHelloMessageAfterDelay
; If rRP is not receiving data, keep checking for input
ldh a, [c]