mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 11:39:21 +01:00
hide unavailable languages
This commit is contained in:
parent
ad5c687ce8
commit
0e99dad39c
@ -3586,6 +3586,14 @@ static int MenuSettingsMenu()
|
|||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
GCSettings.language++;
|
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)
|
if(GCSettings.language > LANG_KOREAN)
|
||||||
GCSettings.language = 0;
|
GCSettings.language = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -422,6 +422,13 @@ DefaultSettings ()
|
|||||||
GCSettings.Rumble = 1;
|
GCSettings.Rumble = 1;
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
GCSettings.language = CONF_GetLanguage();
|
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
|
#else
|
||||||
GCSettings.language = LANG_ENGLISH;
|
GCSettings.language = LANG_ENGLISH;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user