From 384968da50497a3f918f7991412f8215236eeac7 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 14 Feb 2010 09:41:14 +0000 Subject: [PATCH] Create network --- Src/gui/network_menu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Src/gui/network_menu.cpp b/Src/gui/network_menu.cpp index f370366..d9fc360 100644 --- a/Src/gui/network_menu.cpp +++ b/Src/gui/network_menu.cpp @@ -70,7 +70,11 @@ public: if ( strncmp(Gui::gui->np->NetworkName, "Unset", strlen("Unset")) == 0) Gui::gui->pushDialogueBox(new DialogueBox(network_unset_name_dlg)); else + { + TheC64->network = new Network(Gui::gui->np->NetworkServer, + Gui::gui->np->NetworkPort); TheC64->network_connection_type = CONNECT; + } break; case 6: printf("Send message NYI\n"); // FIXME! Send message