summaryrefslogtreecommitdiff
path: root/Source/Core/Common/x64Emitter.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-07-31 02:51:48 -0400
committerLioncash <mathew1800@gmail.com>2014-07-31 02:51:48 -0400
commit5bb9a74759dd6aeb7d4fc56cdbcb716aa7b311ef (patch)
tree21f643c750fba6de97ca4b6c64f4b48092cf649b /Source/Core/Common/x64Emitter.cpp
parentf5078273990e381a8437e945828444cefc410417 (diff)
parentfda2190a3787e4571ed77a9e2325c5a4e7fe3ff9 (diff)
Merge pull request #527 from delroth/flags-opt
[RFC] PowerPC flags emulation optimization
Diffstat (limited to 'Source/Core/Common/x64Emitter.cpp')
-rw-r--r--Source/Core/Common/x64Emitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp
index b4ec2bc331..5d3718e5bd 100644
--- a/Source/Core/Common/x64Emitter.cpp
+++ b/Source/Core/Common/x64Emitter.cpp
@@ -721,7 +721,7 @@ void XEmitter::SETcc(CCFlags flag, OpArg dest)
{
if (dest.IsImm()) _assert_msg_(DYNA_REC, 0, "SETcc - Imm argument");
dest.operandReg = 0;
- dest.WriteRex(this, 0, 0);
+ dest.WriteRex(this, 0, 8);
Write8(0x0F);
Write8(0x90 + (u8)flag);
dest.WriteRest(this);