mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-26 19:21:50 +01:00
fix language toggle
This commit is contained in:
parent
221bab8a9a
commit
887f39c835
@ -3565,10 +3565,14 @@ static int MenuSettingsMenu()
|
|||||||
case 5:
|
case 5:
|
||||||
GCSettings.language++;
|
GCSettings.language++;
|
||||||
|
|
||||||
|
if(GCSettings.language >= LANG_LENGTH)
|
||||||
|
GCSettings.language = LANG_JAPANESE;
|
||||||
|
|
||||||
if(GCSettings.language == LANG_SIMP_CHINESE)
|
if(GCSettings.language == LANG_SIMP_CHINESE)
|
||||||
GCSettings.language = LANG_PORTUGUESE;
|
GCSettings.language = LANG_PORTUGUESE;
|
||||||
else if(GCSettings.language == LANG_JAPANESE)
|
else if(GCSettings.language == LANG_JAPANESE)
|
||||||
GCSettings.language = LANG_ENGLISH;
|
GCSettings.language = LANG_ENGLISH;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user