Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hill <github@cheesy.sackheads.org>2013-01-06 21:39:35 +0400
committerMikkel Krautz <mikkel@krautz.dk>2014-01-11 04:25:45 +0400
commitfb1cff62fdfaed1ba0fc24185f3d20fe7c9f7c41 (patch)
treee456c695f460d36ffca1855a7cef8b525393cb4a /plugins/borderlands2
parent95214713c63cc002d6565879b27359a088196f93 (diff)
plugins/borderlands2: add support for v1.7.0.
Diffstat (limited to 'plugins/borderlands2')
-rw-r--r--plugins/borderlands2/borderlands2.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/borderlands2/borderlands2.cpp b/plugins/borderlands2/borderlands2.cpp
index 52f04bd60..a87d0b9e7 100644
--- a/plugins/borderlands2/borderlands2.cpp
+++ b/plugins/borderlands2/borderlands2.cpp
@@ -154,6 +154,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
state_ptr = pModule + 0x1EABF68;
character_name_ptr_loc = pModule + 0x01EA5384;
}
+ // 1.7.0
+ else if (peekProc(pModule + 0x01ED53A8, detected_version)
+ && VERSION_EQ(detected_version, "WILLOW2-PCALLIUM-55-CL770068"))
+ {
+ vects_ptr = pModule + 0x1EE18E0;
+ state_ptr = pModule + 0x1EE21F8;
+ character_name_ptr_loc = pModule + 0x01EDB5B4;
+ }
else
{
generic_unlock();
@@ -178,7 +186,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.5.0)");
+static std::wstring description(L"Borderlands 2 (v1.7.0)");
static std::wstring shortname(L"Borderlands 2");
static int trylock1() {