diff --git a/core/network/dcnet.cpp b/core/network/dcnet.cpp index a59f3004a..b1c436e9c 100644 --- a/core/network/dcnet.cpp +++ b/core/network/dcnet.cpp @@ -20,6 +20,7 @@ #include "netservice.h" #include "util/tsqueue.h" #include "oslib/oslib.h" +#include "emulator.h" #include #include #include @@ -207,13 +208,16 @@ private: }; static DCNetThread thread; -bool DCNetService::start() { +bool DCNetService::start() +{ + emu.setNetworkState(true); thread.start(); return true; } void DCNetService::stop() { thread.stop(); + emu.setNetworkState(false); } void DCNetService::writeModem(u8 b) {