From 7a18cc2987d5f3593124dfedf4b94c7042f2f42a Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 6 Nov 2014 18:01:46 +0100 Subject: Tools/Patcher: Removed "Connection" patch and added rsa modulus patch --- src/tools/connection_patcher/Program.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/tools/connection_patcher/Program.cpp') diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index 539c6093d53..9513e2da486 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -18,8 +18,10 @@ #include "Helper.hpp" #include "Patcher.hpp" +#include "Patches/Common.hpp" #include "Patches/Mac.hpp" #include "Patches/Windows.hpp" +#include "Patterns/Common.hpp" #include "Patterns/Mac.hpp" #include "Patterns/Windows.hpp" @@ -75,18 +77,17 @@ namespace Connection_Patcher template void do_patches(Patcher* patcher, boost::filesystem::path output) { + std::cout << "patching Portal\n"; + patcher->Patch(Patches::Common::Portal(), Patterns::Common::Portal()); + std::cout << "patching redirect RSA Modulus\n"; + patcher->Patch(Patches::Common::Modulus(), Patterns::Common::Modulus()); std::cout << "patching BNet\n"; patcher->Patch(PATCH::BNet(), PATTERN::BNet()); - std::cout << "patching Portal\n"; - patcher->Patch(PATCH::Portal(), PATTERN::Portal()); - std::cout << "patching Connect\n"; - patcher->Patch(PATCH::Connect(), PATTERN::Connect()); std::cout << "patching Signature\n"; patcher->Patch(PATCH::Signature(), PATTERN::Signature()); patcher->Finish(output); std::cout << "Patching done.\n"; - } } -- cgit v1.2.3