mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Fixed GeckoCodes.org retrieval for WiiWare.
Fixes issue 3438. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6348 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5436bef30b
commit
f2f0f373a6
@ -138,8 +138,14 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
|
|||||||
if (m_gameid.empty())
|
if (m_gameid.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
std::string gameid = m_gameid;
|
||||||
|
|
||||||
|
// WiiWare are identified by their first four characters
|
||||||
|
if (m_gameid[0] == 'W')
|
||||||
|
gameid = m_gameid.substr(0, 4);
|
||||||
|
|
||||||
sf::Http::Request req;
|
sf::Http::Request req;
|
||||||
req.SetURI("/txt.php?txt=" + m_gameid);
|
req.SetURI("/txt.php?txt=" + gameid);
|
||||||
|
|
||||||
sf::Http http;
|
sf::Http http;
|
||||||
http.SetHost("geckocodes.org");
|
http.SetHost("geckocodes.org");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user