diff options
author | Steve Hill <github@cheesy.sackheads.org> | 2014-09-14 20:39:55 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2014-09-21 17:11:06 +0400 |
commit | 5e7706ab2c2e4e045190a41887a7ded1b6437f2a (patch) | |
tree | d5ef58f928ccbdded4d46cf70ebe9a598722058f /plugins | |
parent | ace19170152d67d6d9d0b33802d5ebbc7e54f806 (diff) |
Update Borderlands 2 plugin for version 1.8.3
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/borderlands2/borderlands2.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/borderlands2/borderlands2.cpp b/plugins/borderlands2/borderlands2.cpp index a87d0b9e7..8a4ea4483 100644 --- a/plugins/borderlands2/borderlands2.cpp +++ b/plugins/borderlands2/borderlands2.cpp @@ -162,6 +162,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi state_ptr = pModule + 0x1EE21F8; character_name_ptr_loc = pModule + 0x01EDB5B4; } + // 1.8.3 + else if (peekProc(pModule + 0x1EE63C8, detected_version) + && VERSION_EQ(detected_version, "WILLOW2-PCCHINA-29-CL827556")) + { + vects_ptr = pModule + 0x1EF2930; + state_ptr = pModule + 0x1EF3248; + character_name_ptr_loc = pModule + 0x01EEC5D4; + } else { generic_unlock(); @@ -186,7 +194,7 @@ static const std::wstring longdesc() { return std::wstring(L"Supports Borderlands 2. No context support yet."); } -static std::wstring description(L"Borderlands 2 (v1.7.0)"); +static std::wstring description(L"Borderlands 2 (v1.8.3)"); static std::wstring shortname(L"Borderlands 2"); static int trylock1() { |