diff options
author | Bernd Lörwald <bloerwald@googlemail.com> | 2014-11-08 18:01:03 +0100 |
---|---|---|
committer | Bernd Lörwald <bloerwald@googlemail.com> | 2014-11-08 18:11:14 +0100 |
commit | 20d1d9d99759369c99f6c25d8e3b8300bff2b8c7 (patch) | |
tree | aa9b27a2192bd128ae5025f06b0f8cb04bf91339 | |
parent | 222f03d887574f53e3c3861f994eb6f673dbcc22 (diff) |
Tools/ConnectionPatcher: fix: adapt to compiler optimization around Signature pattern on osx clients
-rw-r--r-- | src/tools/connection_patcher/Patches/Mac.hpp | 2 | ||||
-rw-r--r-- | src/tools/connection_patcher/Patterns/Mac.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/connection_patcher/Patches/Mac.hpp b/src/tools/connection_patcher/Patches/Mac.hpp index b1e4853c64e..9fad02e3ec6 100644 --- a/src/tools/connection_patcher/Patches/Mac.hpp +++ b/src/tools/connection_patcher/Patches/Mac.hpp @@ -31,7 +31,7 @@ namespace Connection_Patcher { static const std::vector<unsigned char> BNet () { return { 0xB8, 0xD5, 0xF8, 0x7F, 0x82, 0x89, 0x47, 0x0C, 0x5D, 0xC3, 0x90, 0x90, 0x90 }; } static const std::vector<unsigned char> Password () { return { 0x0F, 0x85 }; } - static const std::vector<unsigned char> Signature() { return { 0x45, 0x31, 0xED, 0x4D, 0x89, 0xFC, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0xEB }; } + static const std::vector<unsigned char> Signature() { return { 0x41, 0xB6, 0x01, 0x41, 0xBF, 0x02, 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 }; } }; }; } diff --git a/src/tools/connection_patcher/Patterns/Mac.hpp b/src/tools/connection_patcher/Patterns/Mac.hpp index f55472b06f3..6f13cdda5c7 100644 --- a/src/tools/connection_patcher/Patterns/Mac.hpp +++ b/src/tools/connection_patcher/Patterns/Mac.hpp @@ -31,7 +31,7 @@ namespace Connection_Patcher { static const std::vector<unsigned char> BNet () { return { 0x8B, 0x06, 0x89, 0x47, 0x0C, 0x5D, 0xC3 }; } static const std::vector<unsigned char> Password () { return { 0x0F, 0x84, 0x00, 0xFF, 0xFF, 0xFF, 0x49, 0x8B, 0x45, 0x00, 0xB9, 0x40 }; } - static const std::vector<unsigned char> Signature() { return { 0xE8, 0x00, 0x00, 0x00, 0x00, 0x45, 0x31, 0xED, 0x4D, 0x89, 0xFC, 0x84, 0xC0, 0x75 }; } + static const std::vector<unsigned char> Signature() { return { 0x45, 0x31, 0xF6, 0x31, 0xF6, 0x31, 0xD2, 0x4C, 0x89, 0xE7, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x41, 0xBF, 0x04, 0x00, 0x00, 0x00 }; } }; }; } |