From 0c8477548c269769675f603d274334340ffc416d Mon Sep 17 00:00:00 2001 From: wiidev Date: Sun, 12 Apr 2020 19:33:31 +0100 Subject: [PATCH] Prevent crash caused by debug logging & gamercards --- source/menu/menu_download.cpp | 1 - source/network/gcard.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/menu/menu_download.cpp b/source/menu/menu_download.cpp index e7c60495..8c49dad8 100644 --- a/source/menu/menu_download.cpp +++ b/source/menu/menu_download.cpp @@ -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"); diff --git a/source/network/gcard.c b/source/network/gcard.c index f65b7468..f3e122b6 100644 --- a/source/network/gcard.c +++ b/source/network/gcard.c @@ -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);