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:
Unknown W. Brackets 2014-11-23 11:40:52 -08:00
parent a4b9122943
commit a0461f1dcd

View File

@ -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