wx: UTF8 path fix

This commit is contained in:
Nekotekina 2017-03-12 00:41:48 +03:00
parent cdc49d166e
commit 14e5aa57c8
2 changed files with 15 additions and 9 deletions

View file

@ -235,7 +235,7 @@ void GameViewer::RemoveGame(wxCommandEvent& event)
if (wxMessageBox("Permanently delete game files?", "Confirm Delete", wxYES_NO | wxNO_DEFAULT) == wxYES)
{
fs::remove_all(Emu.GetGameDir() + this->GetItemText(i, 6).ToStdString());
fs::remove_all(Emu.GetGameDir() + fmt::ToUTF8(this->GetItemText(i, 6)));
}
Refresh();