mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 19:29:18 +01:00
Changed database/artwork code for Portuguese from PO to PT. Fixed issue 871 (theme for game info page).
This commit is contained in:
parent
892fe2a975
commit
6a789e8b78
File diff suppressed because one or more lines are too long
@ -1083,6 +1083,7 @@ int MenuDiscList() {
|
|||||||
case 'U':
|
case 'U':
|
||||||
case 'X':
|
case 'X':
|
||||||
case 'Y':
|
case 'Y':
|
||||||
|
case 'Z':
|
||||||
sprintf(gameregion," PAL ");
|
sprintf(gameregion," PAL ");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -2047,6 +2047,7 @@ ProgressDownloadWindow(int choice2) {
|
|||||||
case 'U':
|
case 'U':
|
||||||
case 'X':
|
case 'X':
|
||||||
case 'Y':
|
case 'Y':
|
||||||
|
case 'Z':
|
||||||
sprintf(URLFile,"%s%s/%s",server3d,Settings.db_language,missingFiles[i]);
|
sprintf(URLFile,"%s%s/%s",server3d,Settings.db_language,missingFiles[i]);
|
||||||
break;
|
break;
|
||||||
case 'E':
|
case 'E':
|
||||||
@ -2129,6 +2130,7 @@ ProgressDownloadWindow(int choice2) {
|
|||||||
case 'U':
|
case 'U':
|
||||||
case 'X':
|
case 'X':
|
||||||
case 'Y':
|
case 'Y':
|
||||||
|
case 'Z':
|
||||||
if(Settings.discart == 0) {
|
if(Settings.discart == 0) {
|
||||||
sprintf(URLFile,"%s%s/%s",serverDisc,Settings.db_language,missingFiles[i]);
|
sprintf(URLFile,"%s%s/%s",serverDisc,Settings.db_language,missingFiles[i]);
|
||||||
} else if(Settings.discart == 1) {
|
} else if(Settings.discart == 1) {
|
||||||
@ -2209,6 +2211,7 @@ ProgressDownloadWindow(int choice2) {
|
|||||||
case 'U':
|
case 'U':
|
||||||
case 'X':
|
case 'X':
|
||||||
case 'Y':
|
case 'Y':
|
||||||
|
case 'Z':
|
||||||
sprintf(URLFile,"%s%s/%s",server2d,Settings.db_language,missingFiles[i]);
|
sprintf(URLFile,"%s%s/%s",server2d,Settings.db_language,missingFiles[i]);
|
||||||
break;
|
break;
|
||||||
case 'E':
|
case 'E':
|
||||||
|
@ -1712,7 +1712,7 @@ void CFG_Load(void) {
|
|||||||
// set language code for languages that are not available on the Wii
|
// set language code for languages that are not available on the Wii
|
||||||
if (!strcmp(Settings.db_language,"")) {
|
if (!strcmp(Settings.db_language,"")) {
|
||||||
if (strstr(languagefile, "portuguese") != NULL)
|
if (strstr(languagefile, "portuguese") != NULL)
|
||||||
strcpy(Settings.db_language,"PO");
|
strcpy(Settings.db_language,"PT");
|
||||||
}
|
}
|
||||||
|
|
||||||
// open database if needed, load titles if needed
|
// open database if needed, load titles if needed
|
||||||
|
@ -84,11 +84,15 @@ void __Disc_SetVMode(u8 videoselected) {
|
|||||||
/* Select video mode */
|
/* Select video mode */
|
||||||
switch (diskid[3]) {
|
switch (diskid[3]) {
|
||||||
/* PAL */
|
/* PAL */
|
||||||
|
case 'P':
|
||||||
case 'D':
|
case 'D':
|
||||||
case 'F':
|
case 'F':
|
||||||
case 'P':
|
case 'I':
|
||||||
|
case 'S':
|
||||||
|
case 'H':
|
||||||
case 'X':
|
case 'X':
|
||||||
case 'Y':
|
case 'Y':
|
||||||
|
case 'Z':
|
||||||
if (tvmode != CONF_VIDEO_PAL) {
|
if (tvmode != CONF_VIDEO_PAL) {
|
||||||
vmode_reg = 5;
|
vmode_reg = 5;
|
||||||
vmode = (progressive) ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
|
vmode = (progressive) ? &TVNtsc480Prog : &TVEurgb60Hz480IntDf;
|
||||||
|
@ -586,6 +586,7 @@ bool LoadGameInfoFromXML(char* gameid, char* langtxt)
|
|||||||
if (gameid[3] == 'U') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
if (gameid[3] == 'U') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
||||||
if (gameid[3] == 'X') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
if (gameid[3] == 'X') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
||||||
if (gameid[3] == 'Y') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
if (gameid[3] == 'Y') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
||||||
|
if (gameid[3] == 'Z') strlcpy(gameinfo.region,"PAL",sizeof(gameinfo.region));
|
||||||
}
|
}
|
||||||
|
|
||||||
// free memory
|
// free memory
|
||||||
|
Loading…
Reference in New Issue
Block a user