mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
skip chinese traditional (no translation). fix language default.
This commit is contained in:
parent
a8ccecebbd
commit
7644050090
@ -149,8 +149,7 @@ void ChangeLanguage() {
|
||||
return;
|
||||
}
|
||||
|
||||
if(GCSettings.language == LANG_JAPANESE || GCSettings.language == LANG_KOREAN
|
||||
|| GCSettings.language == LANG_SIMP_CHINESE) {
|
||||
if(GCSettings.language == LANG_JAPANESE || GCSettings.language == LANG_KOREAN || GCSettings.language == LANG_SIMP_CHINESE) {
|
||||
#ifdef HW_RVL
|
||||
char filepath[MAXPATHLEN];
|
||||
|
||||
@ -3889,13 +3888,11 @@ static int MenuSettingsMenu()
|
||||
case 5:
|
||||
GCSettings.language++;
|
||||
|
||||
if(GCSettings.language >= LANG_LENGTH)
|
||||
if(GCSettings.language == LANG_TRAD_CHINESE) // skip (not supported)
|
||||
GCSettings.language = LANG_KOREAN;
|
||||
else if(GCSettings.language >= LANG_LENGTH)
|
||||
GCSettings.language = LANG_JAPANESE;
|
||||
|
||||
if(GCSettings.language == LANG_SIMP_CHINESE)
|
||||
GCSettings.language = LANG_SIMP_CHINESE;
|
||||
break;
|
||||
|
||||
case 6:
|
||||
GCSettings.PreviewImage++;
|
||||
if(GCSettings.PreviewImage > 2)
|
||||
|
@ -440,10 +440,8 @@ DefaultSettings ()
|
||||
#ifdef HW_RVL
|
||||
GCSettings.language = CONF_GetLanguage();
|
||||
|
||||
if(GCSettings.language == LANG_JAPANESE ||
|
||||
GCSettings.language == LANG_TRAD_CHINESE ||
|
||||
GCSettings.language == LANG_KOREAN)
|
||||
GCSettings.language = LANG_ENGLISH;
|
||||
if(GCSettings.language == LANG_TRAD_CHINESE)
|
||||
GCSettings.language = LANG_SIMP_CHINESE;
|
||||
#else
|
||||
GCSettings.language = LANG_ENGLISH;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user