diff options
Diffstat (limited to 'Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp b/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp index 30e722af1d..097f22ea56 100644 --- a/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp +++ b/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp @@ -172,20 +172,20 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&) } sf::Http::Request req; - req.SetURI("/txt.php?txt=" + gameid); + req.setUri("/txt.php?txt=" + gameid); sf::Http http; - http.SetHost("geckocodes.org"); + http.setHost("geckocodes.org"); - const sf::Http::Response resp = http.SendRequest(req, 5.0f); + const sf::Http::Response resp = http.sendRequest(req, sf::seconds(5)); - if (sf::Http::Response::Ok == resp.GetStatus()) + if (sf::Http::Response::Ok == resp.getStatus()) { // temp vector containing parsed codes std::vector<GeckoCode> gcodes; // parse the codes - std::istringstream ss(resp.GetBody()); + std::istringstream ss(resp.getBody()); std::string line; |
