mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
NETPLAY : display game name correctly in gui , added netplay to logmanager (netplay is horribly in seeing what its doing). hoping to get netplay to work again cause its borked
LLE: warning fix (would linux hate {} ? ) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3987 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -405,7 +405,7 @@ void *ClientSide::Entry()
|
||||
unsigned char value;
|
||||
size_t val_sz;
|
||||
m_socket.Receive((char *)&value, 1, val_sz);
|
||||
|
||||
// TODO : fix it. for some odd reason value is 1 instead of 16 making the connection "not successfull"
|
||||
if (value == 0x16) // UDP connection successful
|
||||
{
|
||||
Event->AppendText(_("Connection successful !\n"));
|
||||
@ -414,7 +414,7 @@ void *ClientSide::Entry()
|
||||
}
|
||||
else
|
||||
{
|
||||
Event->AppendText(_("UDP Connection FAILED !\nERROR : Unable to establish UDP Connection, please Check UDP Port forwarding !"));
|
||||
Event->AppendText(_("UDP Connection FAILED !\nERROR : Unable to establish UDP Connection, please Check UDP Port forwarding !\n"));
|
||||
m_socket.Close();
|
||||
Event->SendEvent(HOST_ERROR);
|
||||
return NULL;
|
||||
@ -553,7 +553,11 @@ void ClientSide::CheckGameFound()
|
||||
m_socket.Send((const char *)&send_value, 1);
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Event->AppendText(_("WARNING : You do not have the Selected Game !\n"));
|
||||
NOTICE_LOG(NETPLAY,"Game '%s' not found!",m_selectedgame);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user