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

@ -251,7 +251,7 @@ u32 RawSPUThread::GetIndex() const
void RawSPUThread::Task()
{
ConLog.Write("%s enter", PPCThread::GetFName().mb_str());
ConLog.Write("%s enter", PPCThread::GetFName().wx_str());
const Array<u64>& bp = Emu.GetBreakPoints();
@ -327,12 +327,12 @@ void RawSPUThread::Task()
}
catch(const wxString& e)
{
ConLog.Error("Exception: %s", e.mb_str());
ConLog.Error("Exception: %s", e.wx_str());
}
catch(const char* e)
{
ConLog.Error("Exception: %s", e);
}
ConLog.Write("%s leave", PPCThread::GetFName().mb_str());
ConLog.Write("%s leave", PPCThread::GetFName().wx_str());
}