Skip to content
Browse files

GeckoCodeConfig: fix Gecko Code downloading

For some reason the server always redirects once to the same location.
  • Loading branch information...
Tilka committed Feb 1, 2019
1 parent 3ff0e7d commit 4090c19e007b7c8b384168eb4495042611a93cc8
Showing with 4 additions and 1 deletion.
  1. +4 −1 Source/Core/Core/GeckoCodeConfig.cpp
@@ -30,12 +30,15 @@ std::vector<GeckoCode> DownloadCodes(std::string gameid, bool* succeeded)

std::string endpoint{"" + gameid};
std::string endpoint{"" + gameid};
Common::HttpRequest http;

// Circumvent high-tech DDOS protection

// The server always redirects once to the same location.

const Common::HttpRequest::Response response = http.Get(endpoint);
*succeeded = response.has_value();
if (!response)

0 comments on commit 4090c19

Please sign in to comment.
You can’t perform that action at this time.