Fix game list name encoding error caused by 4.0-6419 (d7900b4)

The UTF-8 std::strings were being interpreted as the default encoding.
This commit is contained in:
JosJuice 2015-05-27 12:28:23 +02:00
parent 255a8dfdd2
commit f1580a4c91
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ void CGameListCtrl::InsertItemInReportView(long _Index)
// Set the game's banner in the second column // Set the game's banner in the second column
SetItemColumnImage(_Index, COLUMN_BANNER, ImageIndex); SetItemColumnImage(_Index, COLUMN_BANNER, ImageIndex);
wxString name = rISOFile.GetName(); wxString name = StrToWxStr(rISOFile.GetName());
std::ifstream titlestxt; std::ifstream titlestxt;
OpenFStream(titlestxt, File::GetUserPath(D_LOAD_IDX) + "titles.txt", std::ios::in); OpenFStream(titlestxt, File::GetUserPath(D_LOAD_IDX) + "titles.txt", std::ios::in);