Skip to content

Commit

Permalink
Options menu fails to clear joypad state on initialization
Browse files Browse the repository at this point in the history
This bug allowed all options to be updated at once if the left or right buttons were pressed on the same frame where the options menu was open
  • Loading branch information
fp555 committed Dec 12, 2023
1 parent e43a427 commit bc3b9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/menus/options_menu.asm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
DEF NUM_OPTIONS EQU const_value ; 8

_Option:
; BUG: Options menu fails to clear joypad state on initialization (see docs/bugs_and_glitches.md)
call ClearJoypad
ld hl, hInMenu
ld a, [hl]
push af
Expand Down

0 comments on commit bc3b9bc

Please sign in to comment.