mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-09 23:29:25 +01:00
disable unsupported languages
This commit is contained in:
parent
ca8055657d
commit
b97ffcaadc
@ -3619,8 +3619,11 @@ static int MenuSettingsMenu()
|
|||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
GCSettings.language++;
|
GCSettings.language++;
|
||||||
if(GCSettings.language > LANG_KOREAN)
|
|
||||||
GCSettings.language = 0;
|
if(GCSettings.language == LANG_ITALIAN)
|
||||||
|
GCSettings.language++;
|
||||||
|
else if(GCSettings.language > LANG_DUTCH)
|
||||||
|
GCSettings.language = LANG_ENGLISH;
|
||||||
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…
x
Reference in New Issue
Block a user