Prevent crash caused by debug logging & gamercards

This commit is contained in:
wiidev 2020-04-12 19:33:31 +01:00
parent 6113355561
commit 0c8477548c
2 changed files with 1 additions and 2 deletions

View File

@ -756,7 +756,6 @@ s32 CMenu::_networkComplete(s32 ok, void *usrData)
if(networkInit)
wolfSSL_Init();
gprintf("NET: Network init complete, enabled wifi_gecko: %s\n", m->m_use_wifi_gecko ? "yes" : "no");
if(m->m_use_wifi_gecko)
{
const string &ip = m->m_cfg.getString("DEBUG", "wifi_gecko_ip");

View File

@ -52,7 +52,7 @@ void add_game_to_card(const char *gameid)
strcpy(url, providers[i].url);
str_replace(url, "{KEY}", providers[i].key, MAX_URL_SIZE);
str_replace(url, "{ID6}", gameid, MAX_URL_SIZE);
gprintf("Gamertag URL:\n%s\n", url);
gprintf("Gamertag URL: %s\n", url);
struct download file = {};
file.skip_response = 1;
downloadfile(url, &file);