mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
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
1 changed files with 1 additions and 4 deletions
|
@ -25,13 +25,10 @@
|
||||||
void NetEvent::AppendText(const wxString text)
|
void NetEvent::AppendText(const wxString text)
|
||||||
{
|
{
|
||||||
// I have the feeling SendEvent may be a bit safer/better...
|
// I have the feeling SendEvent may be a bit safer/better...
|
||||||
#if 1
|
//SendEvent(ADD_TEXT, std::string(text.mb_str())); //Problem NETPLAY
|
||||||
SendEvent(ADD_TEXT, std::string(text.mb_str()));
|
|
||||||
#else
|
|
||||||
wxMutexGuiEnter();
|
wxMutexGuiEnter();
|
||||||
m_netptr->AppendText(text);
|
m_netptr->AppendText(text);
|
||||||
wxMutexGuiLeave();
|
wxMutexGuiLeave();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetEvent::SendEvent(int EventType, const std::string text, int integer)
|
void NetEvent::SendEvent(int EventType, const std::string text, int integer)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue