Skip to content

Commit

Permalink
Fixed Chinese locales on PSP (thanks @ccawley2011!)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 10, 2024
1 parent ac92af0 commit 962268c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/locale/psp/SDL_syslocale.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ bool SDL_SYS_GetPreferredLocales(char *buf, size_t buflen)
SDL_strlcpy(buf, "ko_KR", buflen);
break;
case PSP_SYSTEMPARAM_LANGUAGE_CHINESE_TRADITIONAL:
SDL_strlcpy(buf, "zh_CH", buflen);
SDL_strlcpy(buf, "zh_TW", buflen);
break;
case PSP_SYSTEMPARAM_LANGUAGE_CHINESE_SIMPLIFIED:
SDL_strlcpy(buf, "zh_TW", buflen);
SDL_strlcpy(buf, "zh_CN", buflen);
break;
default:
SDL_strlcpy(buf, "en_US", buflen);
Expand Down

0 comments on commit 962268c

Please sign in to comment.