mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-26 03:01:51 +01:00
fix language toggle
This commit is contained in:
parent
221bab8a9a
commit
887f39c835
@ -3564,11 +3564,15 @@ static int MenuSettingsMenu()
|
|||||||
break;
|
break;
|
||||||
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