diff --git a/decompiler/analysis/cfg_builder.cpp b/decompiler/analysis/cfg_builder.cpp index ea26ee76f1..7054f36787 100644 --- a/decompiler/analysis/cfg_builder.cpp +++ b/decompiler/analysis/cfg_builder.cpp @@ -733,6 +733,7 @@ void clean_up_cond_no_else_final(Function& func, CondNoElseElement* cne) { assert(branch); if (branch_info_i.written_and_unused.find(reg->reg()) == branch_info_i.written_and_unused.end()) { + lg::error("Branch delay register used improperly: {}", reg->to_string(func.ir2.env)); throw std::runtime_error("Bad delay slot in clean_up_cond_no_else_final"); } // assert(branch_info_i.written_and_unused.find(reg->reg()) != diff --git a/game/graphics/pipelines/opengl.cpp b/game/graphics/pipelines/opengl.cpp index 2f9c69cf42..6fbc44b28d 100644 --- a/game/graphics/pipelines/opengl.cpp +++ b/game/graphics/pipelines/opengl.cpp @@ -78,9 +78,9 @@ static int gl_init() { } // request Debug OpenGL 3.3 Core - glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); // 3.3 + glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); // 3.3 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); - glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, GLFW_TRUE); // debug + // glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, GLFW_TRUE); // debug glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); // core profile, not compat return 0; diff --git a/goalc/debugger/Debugger.cpp b/goalc/debugger/Debugger.cpp index 659e0a7ea9..91296c5feb 100644 --- a/goalc/debugger/Debugger.cpp +++ b/goalc/debugger/Debugger.cpp @@ -600,6 +600,9 @@ void Debugger::watcher() { case xdbg::SignalInfo::MATH_EXCEPTION: printf("Target has crashed with a MATH_EXCEPTION! Run (:di) to get more information.\n"); break; + case xdbg::SignalInfo::DISAPPEARED: + printf("Target has disappeared. Maybe it quit or was killed.\n"); + break; default: printf("[Debugger] unhandled signal in watcher: %d\n", int(signal_info.kind)); assert(false);