Add KR Region Support

This commit is contained in:
TheShadowEevee 2022-04-20 19:17:37 -05:00
parent 9f3c862896
commit 24e649bc39
No known key found for this signature in database
GPG Key ID: 7A8AA92B3BAFAB75
4 changed files with 14 additions and 4 deletions

View File

@ -72,6 +72,7 @@ void draw_credits() {
printf("\n\tARC ModMii Edition: \n");
printf("\t- Scooby74029(FakeCoder) - Coding \n");
printf("\t- Xflak - testing, overall help \n");
printf("\t- TheShadowEevee - KR region support \n");
printf("\t- To Many Coders To Thank For The Great Code I Used ..... \n");
printf("\n");
Console_SetPosition(26,0);
@ -371,8 +372,13 @@ int main(int argc, char **argv) {
video = 1;
country = 110;
}
// ============== to do add korean system menu's region ============================
// ======================================= ==================================
else if(sysmenu_region == 255) { // KOR
lang = 1;
area = 7;
game = 3;
video = 0;
country = 136;
}
saveSettings();
break;
case 9:

View File

@ -761,6 +761,7 @@ s32 SYSCONF_GetRegion(void)
if(!strcmp(buf, "JP")) return SYSCONF_REGION_JP;
if(!strcmp(buf, "US")) return SYSCONF_REGION_US;
if(!strcmp(buf, "EU")) return SYSCONF_REGION_EU;
if(!strcmp(buf, "KR")) return SYSCONF_REGION_KR;
return SYSCONF_EBADVALUE;
}
@ -963,6 +964,8 @@ s32 SYSCONF_SetRegion(s32 value)
return __SYSCONF_SetTxt("GAME", "US");
case SYSCONF_REGION_EU:
return __SYSCONF_SetTxt("GAME", "EU");
case SYSCONF_REGION_KR:
return __SYSCONF_SetTxt("GAME", "KR");
default:
return SYSCONF_EBADVALUE;
}

View File

@ -71,7 +71,8 @@ enum {
enum {
SYSCONF_REGION_JP = 0,
SYSCONF_REGION_US,
SYSCONF_REGION_EU
SYSCONF_REGION_EU,
SYSCONF_REGION_KR
};
enum {

View File

@ -55,7 +55,7 @@ distribution.
#define RIGHT_ARROW "\x10"
#define ARCME_VERSION 1.0
#define ARCME_REV 5
#define ARCME_REV 6
int Current_Ios;