mirror of
https://github.com/modmii/Any-Region-Changer-ModMii-Edition.git
synced 2024-11-25 17:46:53 +01:00
Add CN Region similar to libogc
This commit is contained in:
parent
24e649bc39
commit
84eb194bce
@ -762,6 +762,7 @@ s32 SYSCONF_GetRegion(void)
|
|||||||
if(!strcmp(buf, "US")) return SYSCONF_REGION_US;
|
if(!strcmp(buf, "US")) return SYSCONF_REGION_US;
|
||||||
if(!strcmp(buf, "EU")) return SYSCONF_REGION_EU;
|
if(!strcmp(buf, "EU")) return SYSCONF_REGION_EU;
|
||||||
if(!strcmp(buf, "KR")) return SYSCONF_REGION_KR;
|
if(!strcmp(buf, "KR")) return SYSCONF_REGION_KR;
|
||||||
|
if(!strcmp(buf, "CN")) return SYSCONF_REGION_CN;
|
||||||
return SYSCONF_EBADVALUE;
|
return SYSCONF_EBADVALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -966,6 +967,8 @@ s32 SYSCONF_SetRegion(s32 value)
|
|||||||
return __SYSCONF_SetTxt("GAME", "EU");
|
return __SYSCONF_SetTxt("GAME", "EU");
|
||||||
case SYSCONF_REGION_KR:
|
case SYSCONF_REGION_KR:
|
||||||
return __SYSCONF_SetTxt("GAME", "KR");
|
return __SYSCONF_SetTxt("GAME", "KR");
|
||||||
|
case SYSCONF_REGION_CN:
|
||||||
|
return __SYSCONF_SetTxt("GAME", "CN");
|
||||||
default:
|
default:
|
||||||
return SYSCONF_EBADVALUE;
|
return SYSCONF_EBADVALUE;
|
||||||
}
|
}
|
||||||
|
@ -72,7 +72,8 @@ enum {
|
|||||||
SYSCONF_REGION_JP = 0,
|
SYSCONF_REGION_JP = 0,
|
||||||
SYSCONF_REGION_US,
|
SYSCONF_REGION_US,
|
||||||
SYSCONF_REGION_EU,
|
SYSCONF_REGION_EU,
|
||||||
SYSCONF_REGION_KR
|
SYSCONF_REGION_KR,
|
||||||
|
SYSCONF_REGION_CN
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
Loading…
Reference in New Issue
Block a user