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())
|
||||
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;
|
||||
req.SetURI("/txt.php?txt=" + m_gameid);
|
||||
req.SetURI("/txt.php?txt=" + gameid);
|
||||
|
||||
sf::Http http;
|
||||
http.SetHost("geckocodes.org");
|
||||
|
|
Loading…
Reference in New Issue