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-05-03 04:39:39 +0400
committerKissaki <kissaki@gmx.de>2013-06-05 00:39:01 +0400
commit54d3f5a0f56121b79d1b7d78dbe16a785c97983c (patch)
treef30f8fd3c97f3d2ceed7db2035d180f6187449a9 /plugins/borderlands2
parentb0ddb592e90a8b05d8adae39a8c43b9719a00bb1 (diff)
Borderlands 2 PA: Update for version 1.5.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 94d032e78..f41c5edec 100644
--- a/plugins/borderlands2/borderlands2.cpp
+++ b/plugins/borderlands2/borderlands2.cpp
@@ -111,6 +111,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
state_ptr = pModule + 0x1E99D08;
character_name_ptr_loc = pModule + 0x1E93194;
}
+ // 1.5.0
+ else if (peekProc(pModule + 0x01E9F338, detected_version)
+ && strcmp(detected_version, "WILLOW2-PCLILAC-60-CL721220") == 0)
+ {
+ vects_ptr = pModule + 0x1EAB650;
+ state_ptr = pModule + 0x1EABF68;
+ character_name_ptr_loc = pModule + 0x01EA5384;
+ }
else
{
generic_unlock();
@@ -135,7 +143,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.4.0)");
+static std::wstring description(L"Borderlands 2 (v1.5.0)");
static std::wstring shortname(L"Borderlands 2");
static int trylock1() {