Compare commits
4 Commits
1e7baa10b6
...
8e1306a944
Author | SHA1 | Date |
---|---|---|
thepikachugamer | 8e1306a944 | |
Naim2000 | 604bd0e5ab | |
thepikachugamer | 608d954afe | |
MikeIsAStar | 13dd003f3d |
13
source/wad.c
13
source/wad.c
|
@ -187,16 +187,17 @@ static bool GetRegionFromTXT(char* region)
|
|||
{
|
||||
start++;
|
||||
|
||||
if (!strncmp(start, "JPN", 3))
|
||||
if (!strncmp(start, "JPN", 3) || !strncmp(start, "TWN", 3) || !strncmp(start, "ROC", 3))
|
||||
*region = 'J';
|
||||
else if (!strncmp(start, "TWN", 3))
|
||||
*region = 'J';
|
||||
else if (!strncmp(start, "USA", 3))
|
||||
else if (!strncmp(start, "USA", 3) || !strncmp(start, "BRA", 3) || !strncmp(start, "HKG", 3) ||
|
||||
!strncmp(start, "ASI", 3) || !strncmp(start, "LTN", 3) || !strncmp(start, "SAF", 3))
|
||||
*region = 'U';
|
||||
else if (!strncmp(start, "EUR", 3))
|
||||
else if (!strncmp(start, "EUR", 3) || !strncmp(start, "AUS", 3))
|
||||
*region = 'E';
|
||||
else if (!strncmp(start, "KOR", 3))
|
||||
*region = 'K';
|
||||
else if (!strncmp(start, "CHN", 3))
|
||||
printf("Error! GetRegionFromTXT: Unhandled product area \"CHN\"!\n");
|
||||
|
||||
if (*region != 0)
|
||||
{
|
||||
|
@ -569,7 +570,7 @@ bool __Wad_FixTicket(signed_blob *s_tik)
|
|||
/* Fix tickets using vWii Common Key */
|
||||
if (fixvWiiKey)
|
||||
{
|
||||
__attribute__ ((aligned(0x10)))
|
||||
__aligned(0x20)
|
||||
aeskey tkeybuf;
|
||||
u64 iv[2];
|
||||
|
||||
|
|
Loading…
Reference in New Issue