From 9f8db0475735794ee3a74036207759d82d4c9eba Mon Sep 17 00:00:00 2001 From: empathicqubit Date: Wed, 24 Nov 2021 21:23:08 +0100 Subject: [PATCH] Init the connection immediately on startup. --- server.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/server.lua b/server.lua index a31f95b..71cfc2e 100644 --- a/server.lua +++ b/server.lua @@ -331,6 +331,7 @@ function me.start(host, port, waitForConnection) emu.addEventCallback(breakHandle, emu.eventType.codeBreak) + initConnection() startupCallback = emu.addMemoryCallback(breakHandle, emu.memCallbackType.cpuExec, 0x0000, 0xffff) end