From f1580a4c918d80f6c0a486a8a56f5a0a8651da58 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 27 May 2015 12:28:23 +0200 Subject: [PATCH] Fix game list name encoding error caused by 4.0-6419 (d7900b4) The UTF-8 std::strings were being interpreted as the default encoding. --- Source/Core/DolphinWX/GameListCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp index 9e56de741b..f0e8667a7a 100644 --- a/Source/Core/DolphinWX/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/GameListCtrl.cpp @@ -387,7 +387,7 @@ void CGameListCtrl::InsertItemInReportView(long _Index) // Set the game's banner in the second column SetItemColumnImage(_Index, COLUMN_BANNER, ImageIndex); - wxString name = rISOFile.GetName(); + wxString name = StrToWxStr(rISOFile.GetName()); std::ifstream titlestxt; OpenFStream(titlestxt, File::GetUserPath(D_LOAD_IDX) + "titles.txt", std::ios::in);