Disable DAS charge.

This commit is contained in:
Randy Thiemann 2023-10-20 16:29:24 +02:00
parent 7922208559
commit df206841eb
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ GetInput::
; If so, save the new DAS charge. ; If so, save the new DAS charge.
jr nc, :+ jr nc, :+
ld a, b ld a, b
ldh [hDASCharge], a ;ldh [hDASCharge], a
; Check if the right state > DAS charge. ; Check if the right state > DAS charge.
: ldh a, [hRightState] : ldh a, [hRightState]
@ -52,7 +52,7 @@ GetInput::
; If so, save the new DAS charge. ; If so, save the new DAS charge.
jr nc, :+ jr nc, :+
ld a, b ld a, b
ldh [hDASCharge], a ;ldh [hDASCharge], a
; There's an overflow risk here if the DAS charge is 255. ; There's an overflow risk here if the DAS charge is 255.
: cp a, $FF : cp a, $FF