[Runtime] misc fixes to runtime and listener (#170)

* misc runtime fixes

* clang format
This commit is contained in:
water111
2020-12-28 18:37:05 -05:00
committed by GitHub
parent c811778d00
commit 4d713d5c8c
25 changed files with 192 additions and 126 deletions
+5 -1
View File
@@ -47,6 +47,7 @@
#include "game/overlord/stream.h"
#include "common/goal_constants.h"
#include "common/cross_os_debug/xdbg.h"
u8* g_ee_main_mem = nullptr;
@@ -75,7 +76,7 @@ void deci2_runner(SystemThreadInterface& iface) {
server.wait_for_protos_ready();
// then allow the server to accept connections
if (!server.init()) {
throw std::runtime_error("DECI2 server init failed");
assert(false);
}
spdlog::debug("[DECI2] Waiting for listener...");
@@ -148,6 +149,9 @@ void ee_runner(SystemThreadInterface& iface) {
kmemcard_init_globals();
kprint_init_globals();
// Added for OpenGOAL's debugger
xdbg::allow_debugging();
goal_main(g_argc, g_argv);
spdlog::debug("[EE] Done!");