mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
add back fused gui log classes, this needs to be redone another way
also, add back wx requirement for strfmt
This commit is contained in:
parent
10e10de98d
commit
ed10ea7544
12 changed files with 332 additions and 333 deletions
|
|
@ -86,21 +86,4 @@ CPUThread& GetCPU(const u8 core)
|
|||
return Emu.GetCPU().Get(core);
|
||||
}*/
|
||||
|
||||
//TODOB: remove this
|
||||
//convert a wxString to a std::string encoded in utf8
|
||||
//CAUTION, only use this to interface with wxWidgets classes
|
||||
std::string fmt::ToUTF8(const wxString& right)
|
||||
{
|
||||
auto ret = std::string(((const char *)right.utf8_str()));
|
||||
return ret;
|
||||
}
|
||||
|
||||
//convert a std::string encoded in utf8 to a wxString
|
||||
//CAUTION, only use this to interface with wxWidgets classes
|
||||
wxString fmt::FromUTF8(const std::string& right)
|
||||
{
|
||||
auto ret = wxString::FromUTF8(right.c_str());
|
||||
return ret;
|
||||
}
|
||||
|
||||
GameInfo CurGameInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue