mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
Prevent crash caused by debug logging & gamercards
This commit is contained in:
parent
6113355561
commit
0c8477548c
@ -756,7 +756,6 @@ s32 CMenu::_networkComplete(s32 ok, void *usrData)
|
|||||||
if(networkInit)
|
if(networkInit)
|
||||||
wolfSSL_Init();
|
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)
|
if(m->m_use_wifi_gecko)
|
||||||
{
|
{
|
||||||
const string &ip = m->m_cfg.getString("DEBUG", "wifi_gecko_ip");
|
const string &ip = m->m_cfg.getString("DEBUG", "wifi_gecko_ip");
|
||||||
|
@ -52,7 +52,7 @@ void add_game_to_card(const char *gameid)
|
|||||||
strcpy(url, providers[i].url);
|
strcpy(url, providers[i].url);
|
||||||
str_replace(url, "{KEY}", providers[i].key, MAX_URL_SIZE);
|
str_replace(url, "{KEY}", providers[i].key, MAX_URL_SIZE);
|
||||||
str_replace(url, "{ID6}", gameid, 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 = {};
|
struct download file = {};
|
||||||
file.skip_response = 1;
|
file.skip_response = 1;
|
||||||
downloadfile(url, &file);
|
downloadfile(url, &file);
|
||||||
|
Loading…
Reference in New Issue
Block a user