diff --git a/gui.pnproj b/gui.pnproj index 259f85ed..a67b85a7 100644 --- a/gui.pnproj +++ b/gui.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/source/prompts/PromptWindows.cpp b/source/prompts/PromptWindows.cpp index a91ecc62..a2ccbae1 100644 --- a/source/prompts/PromptWindows.cpp +++ b/source/prompts/PromptWindows.cpp @@ -2868,16 +2868,18 @@ int ProgressUpdateWindow() { } //make the URL to get XML based on our games - char XMLurl[2040]; + char XMLurl[3540]; char filename[10]; __Menu_GetEntries(1); - snprintf(XMLurl,sizeof(XMLurl),"http://wiitdb.com/wiitdb.zip?LANG=%s?ID=",Settings.db_language); + snprintf(XMLurl,sizeof(XMLurl),"http://wiitdb.com/wiitdb.zip?LANG=%s&ID=",Settings.db_language); unsigned int i; for (i = 0; i < gameCnt ; i++) { struct discHdr* header = &gameList[i]; if (i<500) { - snprintf(filename,sizeof(filename),"%c%c%c", header->id[1], header->id[2], header->id[3]); - strncat(XMLurl, filename,3 ); + //snprintf(filename,sizeof(filename),"%c%c%c", header->id[1], header->id[2], header->id[3]); + //strncat(XMLurl, filename,3 ); + snprintf(filename,sizeof(filename),"%c%c%c%c%c%c", header->id[0], header->id[1], header->id[2],header->id[3], header->id[4], header->id[5]); + strncat(XMLurl,filename,6); if ((i!=gameCnt-1)&&(i<500)) strncat(XMLurl, ",",1); }