Merge pull request #2466 from JosJuice/fix-gamelist-encoding

Fix game list name encoding error caused by 4.0-6419 (d7900b4)
This commit is contained in:
Lioncash 2015-05-27 06:31:31 -04:00
commit a26cf63783
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);