mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-26 10:41:50 +01:00
hide unavailable languages
This commit is contained in:
parent
d334f777e8
commit
6520e2c59f
@ -3335,6 +3335,14 @@ static int MenuSettingsMenu()
|
||||
break;
|
||||
case 5:
|
||||
GCSettings.language++;
|
||||
|
||||
if(GCSettings.language == LANG_JAPANESE ||
|
||||
GCSettings.language == LANG_ITALIAN ||
|
||||
GCSettings.language == LANG_SIMP_CHINESE ||
|
||||
GCSettings.language == LANG_TRAD_CHINESE ||
|
||||
GCSettings.language == LANG_KOREAN)
|
||||
GCSettings.language++;
|
||||
|
||||
if(GCSettings.language > LANG_KOREAN)
|
||||
GCSettings.language = 0;
|
||||
break;
|
||||
|
@ -625,6 +625,13 @@ DefaultSettings ()
|
||||
GCSettings.Rumble = 1;
|
||||
#ifdef HW_RVL
|
||||
GCSettings.language = CONF_GetLanguage();
|
||||
|
||||
if(GCSettings.language == LANG_JAPANESE ||
|
||||
GCSettings.language == LANG_ITALIAN ||
|
||||
GCSettings.language == LANG_SIMP_CHINESE ||
|
||||
GCSettings.language == LANG_TRAD_CHINESE ||
|
||||
GCSettings.language == LANG_KOREAN)
|
||||
GCSettings.language = LANG_ENGLISH;
|
||||
#else
|
||||
GCSettings.language = LANG_ENGLISH;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user