diff options
| author | magumagu <magumagu9@gmail.com> | 2014-03-25 13:50:14 -0700 |
|---|---|---|
| committer | magumagu <magumagu9@gmail.com> | 2014-03-25 14:09:15 -0700 |
| commit | 03292eabc21d316b35ee0d0b96447d51d98df240 (patch) | |
| tree | 1f7c739a1fcb9e49593c413cd42487fd65ec0144 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | 6351f28ab41172d7b07626da737d691ce88c9285 (diff) | |
Fix OpArg::WriteRex with 8-bit memory operand.
Previously he function was misbehaving because of a missing check for
whether an 8-bit operand was a register operand; it would therefore
emit unnecessary REX prefixes, incorrectly assert on 32-bit targets, and
could potentially emit wrong code in rare cases (like a memory to register
operation involving AH.)
Also, some cleanup while I was in the area to make the function easier to
read.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions
