mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
download codes for virtualconsole titles
This commit is contained in:
parent
a0d6d68243
commit
a78c5f984f
@ -151,9 +151,18 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
|
|||||||
|
|
||||||
std::string gameid = m_gameid;
|
std::string gameid = m_gameid;
|
||||||
|
|
||||||
// WiiWare are identified by their first four characters
|
|
||||||
if (m_gameid[0] == 'W')
|
switch (m_gameid[0])
|
||||||
|
{
|
||||||
|
case 'R':
|
||||||
|
case 'S':
|
||||||
|
case 'G':
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
// All channels (WiiWare, VirtualConsole, etc) are identified by their first four characters
|
||||||
gameid = m_gameid.substr(0, 4);
|
gameid = m_gameid.substr(0, 4);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
sf::Http::Request req;
|
sf::Http::Request req;
|
||||||
req.SetURI("/txt.php?txt=" + gameid);
|
req.SetURI("/txt.php?txt=" + gameid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user