TWN region code !?

This commit is contained in:
Naim2000 2024-03-09 22:46:44 -05:00
parent 53072c83fe
commit bc99919c45
2 changed files with 7 additions and 2 deletions

View File

@ -647,7 +647,7 @@ int Menu_BatchProcessWads(fatFile *files, int fileCount, char *inFilePath, int i
if (thisFile->installstate < 0) if (thisFile->installstate < 0)
{ {
printf(" %.40s ", thisFile->filename); printf(" %.40s: ", thisFile->filename);
i++; i++;
@ -657,7 +657,10 @@ int Menu_BatchProcessWads(fatFile *files, int fileCount, char *inFilePath, int i
case -996: puts("Read error"); break; case -996: puts("Read error"); break;
case -998: puts("Skipped"); break; case -998: puts("Skipped"); break;
case -999: puts("BRICK BLOCKED"); break; case -999: puts("BRICK BLOCKED"); break;
case -1036: puts("Needed IOS missing"); break; case -1010: puts("Wii System memory full!");
case -1022: puts("Content hash mismatch"); break;
case -1035: puts("Newer version already installed"); break;
case -1036: puts("Needed IOS missing!"); break;
case -2011: puts("No trucha bug?"); break; case -2011: puts("No trucha bug?"); break;
/* /*
* from libogc. * from libogc.

View File

@ -187,6 +187,8 @@ static bool GetRegionFromTXT(char* region)
if (!strncmp(start, "JPN", 3)) if (!strncmp(start, "JPN", 3))
*region = 'J'; *region = 'J';
else if (!strncmp(start, "TWN", 3))
*region = 'J';
else if (!strncmp(start, "USA", 3)) else if (!strncmp(start, "USA", 3))
*region = 'U'; *region = 'U';
else if (!strncmp(start, "EUR", 3)) else if (!strncmp(start, "EUR", 3))