mupen64plus / mupen64plus-core

Core module of the Mupen64Plus project
1.32k stars 258 forks source link

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

Closed Clownacy closed 2 months ago

Clownacy commented 2 months ago

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