use .wx_str() instead of .mb_str(), Dbg console is still broken

This commit is contained in:
Peter Tissen 2014-02-10 13:53:09 +01:00
parent fdcdd7769f
commit b9c3dc352d
32 changed files with 216 additions and 211 deletions

View file

@ -91,9 +91,9 @@ void GameViewer::DClick(wxListEvent& event)
const wxString& path = m_path + m_game_data[i].root;
Emu.Stop();
if(!Emu.BootGame((const char *)path.mb_str()))
if(!Emu.BootGame(path.ToStdString()))
{
ConLog.Error("Boot error: elf not found! [%s]", path.mb_str());
ConLog.Error("Boot error: elf not found! [%s]", path.wx_str());
return;
}
Emu.Run();