summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp
diff options
context:
space:
mode:
authorJames Cowgill <james410@cowgill.org.uk>2014-11-09 22:30:06 +0000
committerJames Cowgill <james410@cowgill.org.uk>2014-11-25 16:44:38 +0000
commita93f86330ec4d8fec4010074ee5a8aa2102776cd (patch)
tree53b850ef1adb8d6a5a53da542785bc0b83aacdd9 /Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp
parent11dbe6b6ce3f3b2b82adcfa5e1aff158f4e78da4 (diff)
Port dolphin to SFML 2.1
Diffstat (limited to 'Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp')
-rw-r--r--Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp10
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;