mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 13:04:21 +01:00
skip chinese traditional (no translation). fix language default.
This commit is contained in:
parent
29735a817d
commit
c44a2db968
@ -146,8 +146,7 @@ void ChangeLanguage() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(GCSettings.language == LANG_JAPANESE || GCSettings.language == LANG_KOREAN
|
if(GCSettings.language == LANG_JAPANESE || GCSettings.language == LANG_KOREAN || GCSettings.language == LANG_SIMP_CHINESE) {
|
||||||
|| GCSettings.language == LANG_SIMP_CHINESE) {
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
char filepath[MAXPATHLEN];
|
char filepath[MAXPATHLEN];
|
||||||
|
|
||||||
@ -4006,14 +4005,11 @@ static int MenuSettingsMenu()
|
|||||||
case 5:
|
case 5:
|
||||||
GCSettings.language++;
|
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;
|
GCSettings.language = LANG_JAPANESE;
|
||||||
|
|
||||||
if(GCSettings.language == LANG_SIMP_CHINESE)
|
|
||||||
GCSettings.language = LANG_SIMP_CHINESE;
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 6:
|
case 6:
|
||||||
GCSettings.PreviewImage++;
|
GCSettings.PreviewImage++;
|
||||||
if(GCSettings.PreviewImage > 2)
|
if(GCSettings.PreviewImage > 2)
|
||||||
|
@ -466,10 +466,8 @@ DefaultSettings ()
|
|||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
GCSettings.language = CONF_GetLanguage();
|
GCSettings.language = CONF_GetLanguage();
|
||||||
|
|
||||||
if(GCSettings.language == LANG_JAPANESE ||
|
if(GCSettings.language == LANG_TRAD_CHINESE)
|
||||||
GCSettings.language == LANG_TRAD_CHINESE ||
|
GCSettings.language = LANG_SIMP_CHINESE;
|
||||||
GCSettings.language == LANG_KOREAN)
|
|
||||||
GCSettings.language = LANG_ENGLISH;
|
|
||||||
#else
|
#else
|
||||||
GCSettings.language = LANG_ENGLISH;
|
GCSettings.language = LANG_ENGLISH;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user