mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 02:11:55 +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 'X':
|
||||
case 'Y':
|
||||
case 'Z':
|
||||
sprintf(gameregion," PAL ");
|
||||
break;
|
||||
}
|
||||
|
@ -2047,6 +2047,7 @@ ProgressDownloadWindow(int choice2) {
|
||||
case 'U':
|
||||
case 'X':
|
||||
case 'Y':
|
||||
case 'Z':
|
||||
sprintf(URLFile,"%s%s/%s",server3d,Settings.db_language,missingFiles[i]);
|
||||
break;
|
||||
case 'E':
|
||||
@ -2129,6 +2130,7 @@ ProgressDownloadWindow(int choice2) {
|
||||
case 'U':
|
||||
case 'X':
|
||||
case 'Y':
|
||||
case 'Z':
|
||||
if(Settings.discart == 0) {
|
||||
sprintf(URLFile,"%s%s/%s",serverDisc,Settings.db_language,missingFiles[i]);
|
||||
} else if(Settings.discart == 1) {
|
||||
@ -2209,6 +2211,7 @@ ProgressDownloadWindow(int choice2) {
|
||||
case 'U':
|
||||
case 'X':
|
||||
case 'Y':
|
||||
case 'Z':
|
||||
sprintf(URLFile,"%s%s/%s",server2d,Settings.db_language,missingFiles[i]);
|
||||
break;
|
||||
case 'E':
|
||||
|
@ -1712,7 +1712,7 @@ void CFG_Load(void) {
|
||||
// set language code for languages that are not available on the Wii
|
||||
if (!strcmp(Settings.db_language,"")) {
|
||||
if (strstr(languagefile, "portuguese") != NULL)
|
||||
strcpy(Settings.db_language,"PO");
|
||||
strcpy(Settings.db_language,"PT");
|
||||
}
|
||||
|
||||
// open database if needed, load titles if needed
|
||||
|
@ -83,12 +83,16 @@ void __Disc_SetVMode(u8 videoselected) {
|
||||
|
||||
/* Select video mode */
|
||||
switch (diskid[3]) {
|
||||
/* PAL */
|
||||
case 'D':
|
||||
case 'F':
|
||||
/* PAL */
|
||||
case 'P':
|
||||
case 'D':
|
||||
case 'F':
|
||||
case 'I':
|
||||
case 'S':
|
||||
case 'H':
|
||||
case 'X':
|
||||
case 'Y':
|
||||
case 'Z':
|
||||
if (tvmode != CONF_VIDEO_PAL) {
|
||||
vmode_reg = 5;
|
||||
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] == 'X') 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
|
||||
|
Loading…
Reference in New Issue
Block a user