summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authordok.slade <dok.slade@gmail.com>2026-11-09 22:05:59 +0000
committerdok.slade <dok.slade@gmail.com>2026-11-13 00:17:30 +0100
commit1f7ead58bcd00228b906118be0b3988b1972c43e (patch)
treedf7140f327c4d1579a286df40c9832a56700482e /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parentdb2afcbdf8f5175a6b8414d9f5e21c978775f651 (diff)
Interpreter: Fix carry of addme/subfme when CA is set
When XER[CA] was set, addme and subfme always cleared it. Both instructions add 0xFFFFFFFF and CA to their operand (rA for addme, ~rA for subfme). With CA=1, this adds 2^32, so there is always a carry out. With CA=0, there is a carry out unless the operand is 0. This affected the interpreter, the cached interpreter and the JitArm64 fallbacks (addmeo/subfmeo). Jit64 already computes the right value.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
0 files changed, 0 insertions, 0 deletions