mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Don't reset the master, display message if the peer disconnects
This commit is contained in:
parent
ac52ec73fe
commit
32874b305a
@ -522,10 +522,12 @@ void C64::network_vblank()
|
|||||||
js, this->TheSID) == false)
|
js, this->TheSID) == false)
|
||||||
{
|
{
|
||||||
/* Disconnect or sending crap, remove this guy! */
|
/* Disconnect or sending crap, remove this guy! */
|
||||||
|
TheDisplay->display_status_string("PEER DISCONNECTED", 3);
|
||||||
delete remote;
|
delete remote;
|
||||||
this->peer = NULL;
|
this->peer = NULL;
|
||||||
|
if (this->network_connection_type == CLIENT)
|
||||||
|
this->Reset();
|
||||||
this->network_connection_type = NONE;
|
this->network_connection_type = NONE;
|
||||||
this->Reset();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this->network_connection_type == CLIENT)
|
if (this->network_connection_type == CLIENT)
|
||||||
|
Loading…
Reference in New Issue
Block a user