NETPLAY: Fix netplay joining only problem now is that the chat is kind of dodgy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4210 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5fbeb7927b
commit
49e849dc94
|
@ -25,13 +25,10 @@
|
|||
void NetEvent::AppendText(const wxString text)
|
||||
{
|
||||
// I have the feeling SendEvent may be a bit safer/better...
|
||||
#if 1
|
||||
SendEvent(ADD_TEXT, std::string(text.mb_str()));
|
||||
#else
|
||||
//SendEvent(ADD_TEXT, std::string(text.mb_str())); //Problem NETPLAY
|
||||
wxMutexGuiEnter();
|
||||
m_netptr->AppendText(text);
|
||||
wxMutexGuiLeave();
|
||||
#endif
|
||||
}
|
||||
|
||||
void NetEvent::SendEvent(int EventType, const std::string text, int integer)
|
||||
|
|
Loading…
Reference in New Issue