From 32874b305a15327140bf90ec4cb6875b10474d45 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Tue, 10 Nov 2009 05:46:21 +0000 Subject: [PATCH] Don't reset the master, display message if the peer disconnects --- Src/C64_SDL.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Src/C64_SDL.h b/Src/C64_SDL.h index 7515675..ceabb98 100644 --- a/Src/C64_SDL.h +++ b/Src/C64_SDL.h @@ -522,10 +522,12 @@ void C64::network_vblank() js, this->TheSID) == false) { /* Disconnect or sending crap, remove this guy! */ + TheDisplay->display_status_string("PEER DISCONNECTED", 3); delete remote; this->peer = NULL; + if (this->network_connection_type == CLIENT) + this->Reset(); this->network_connection_type = NONE; - this->Reset(); return; } if (this->network_connection_type == CLIENT)