From 73f5c6bc4e4a0f5f233f805e69760250504546c9 Mon Sep 17 00:00:00 2001 From: mgaver Date: Thu, 25 Apr 2013 02:28:27 +0900 Subject: [PATCH] Update MenuScreens.cpp Fix a miscompile for asian os. --- UI/MenuScreens.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UI/MenuScreens.cpp b/UI/MenuScreens.cpp index a266fbf18d..6989d3835f 100644 --- a/UI/MenuScreens.cpp +++ b/UI/MenuScreens.cpp @@ -23,6 +23,8 @@ namespace MainWindow { void BrowseAndBoot(std::string defaultPath); } + +#pragma execution_character_set("utf-8") #endif #ifdef _MSC_VER @@ -160,7 +162,7 @@ void LogoScreen::render() { ui_draw2d.SetFontScale(1.5f, 1.5f); ui_draw2d.DrawText(UBUNTU48, "PPSSPP", dp_xres / 2, dp_yres / 2 - 30, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER); ui_draw2d.SetFontScale(1.0f, 1.0f); - ui_draw2d.DrawText(UBUNTU24, "Created by Henrik Rydg\u00E5rd", dp_xres / 2, dp_yres / 2 + 40, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER); + ui_draw2d.DrawText(UBUNTU24, "Created by Henrik Rydgård", dp_xres / 2, dp_yres / 2 + 40, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER); ui_draw2d.DrawText(UBUNTU24, "Free Software under GPL 2.0", dp_xres / 2, dp_yres / 2 + 70, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER); ui_draw2d.DrawText(UBUNTU24, "www.ppsspp.org", dp_xres / 2, dp_yres / 2 + 130, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER); if (bootFilename_.size()) { @@ -976,7 +978,7 @@ static const char * credits[] = { "", "A fast and portable PSP emulator", "", - "Created by Henrik Rydg\u00E5rd", + "Created by Henrik Rydgård", "(aka hrydgard, ector)" "", "",