Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix operator precedence in some big-endian code. #1090

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

Clownacy
Copy link
Contributor

@Clownacy Clownacy commented Sep 3, 2024

This matches the original version of the code (9644b14). In C, the '&' operator occurs after the '^' operator, meaning that the result of i & 1 ^ 1 is always 0.

This matches the original version of the code (9644b14). In C, the '&' operator occurs after the '^' operator, meaning that the result of `i & 1 ^ 1` is always 0.
@richard42 richard42 merged commit 312a5be into mupen64plus:master Sep 10, 2024
10 checks passed
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.

2 participants