mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
download codes for virtualconsole titles
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user