Add a tiny bit of safety margin to the RipAccessible check. Should be enough for 128-bit SSE data.

This commit is contained in:
Henrik Rydgård 2017-12-13 22:00:59 +01:00
parent 4fae9e37d4
commit d2fe5abb84

View File

@ -1077,7 +1077,7 @@ public:
return true;
#else
ptrdiff_t diff = GetCodePtr() - (const uint8_t *)ptr;
return diff > -0x7FFFFFFF && diff < 0x7FFFFFFF;
return diff > -0x7FFFFFF0 && diff < 0x7FFFFFF0;
#endif
}
};