mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 02:11:55 +01:00
This commit is contained in:
parent
363f2e40d4
commit
981ae17a80
File diff suppressed because one or more lines are too long
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user