Skip to content

erreula: fix inverted IsDecideSelectLeft/RightButtonError#2008

Open
NKR0ne wants to merge 1 commit into
cemu-project:mainfrom
NKR0ne:erreula-button-selection-fix
Open

erreula: fix inverted IsDecideSelectLeft/RightButtonError#2008
NKR0ne wants to merge 1 commit into
cemu-project:mainfrom
NKR0ne:erreula-button-selection-fix

Conversation

@NKR0ne

@NKR0ne NKR0ne commented Jul 25, 2026

Copy link
Copy Markdown

IsDecideSelectLeftButtonError and IsDecideSelectRightButtonError return != where == is meant.

The effect is that each reports true for every selection except the one it is asking about, and both return true when no button has been selected at all (BUTTON_SELECTION::NONE).

IsDecideSelectButtonError immediately above uses != correctly, because it asks whether any button was selected — presumably where the copy-paste originated.

Affects any title that queries which ErrEula button the user pressed. Found while getting Disney Infinity past its missing-NNID dialog, where the inverted result made the title read the wrong button.

Both functions returned != where == was meant, so each reported true for every
selection except the one it was asking about, and both returned true when no
button had been selected at all (BUTTON_SELECTION::NONE).

IsDecideSelectButtonError directly above uses != correctly, since it asks
whether any button was selected, which is presumably where this came from.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant