mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Change utf-8 for logo screen.
For some reason this was just truncating to "Rydg". The one on the credits screen works, so I'm not sure why. May be something with snprintf? This works around the issue anyway. I don't suppose it's more or less clear.
This commit is contained in:
parent
a4b9122943
commit
a0461f1dcd
@ -415,7 +415,8 @@ void LogoScreen::render() {
|
||||
|
||||
I18NCategory *c = GetI18NCategory("PSPCredits");
|
||||
char temp[256];
|
||||
snprintf(temp, sizeof(temp), "%s Henrik Rydg\xc3\xa5rd", c->T("created", "Created by"));
|
||||
// Manually formatting utf-8 is fun. \xXX doesn't work everywhere.
|
||||
snprintf(temp, sizeof(temp), "%s Henrik Rydg%c%crd", c->T("created", "Created by"), 0xC3, 0xA5);
|
||||
#ifdef GOLD
|
||||
dc.Draw()->DrawImage(I_ICONGOLD, bounds.centerX() - 120, bounds.centerY() - 30, 1.2f, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user