Permalink
Browse files

Add a tiny bit of safety margin to the RipAccessible check. Should be…

… enough for 128-bit SSE data.
  • Loading branch information...
hrydgard committed Dec 13, 2017
1 parent 4fae9e3 commit d2fe5abb84459ccf28357b1afa767fbc5ddff6bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 Common/x64Emitter.h
@@ -1077,7 +1077,7 @@ class XCodeBlock : public CodeBlock<XEmitter> {
return true;
#else
ptrdiff_t diff = GetCodePtr() - (const uint8_t *)ptr;
return diff > -0x7FFFFFFF && diff < 0x7FFFFFFF;
return diff > -0x7FFFFFF0 && diff < 0x7FFFFFF0;
#endif
}
};

0 comments on commit d2fe5ab

Please sign in to comment.