[Scummvm-git-logs] scummvm master -> 698f832c9c1b32aae8ac020d4965a717de96d636

AndywinXp noreply at scummvm.org
Thu Jun 19 10:36:21 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
698f832c9c LASTEXPRESS: DEBUG: Fix debugger termination


Commit: 698f832c9c1b32aae8ac020d4965a717de96d636
    https://github.com/scummvm/scummvm/commit/698f832c9c1b32aae8ac020d4965a717de96d636
Author: AndywinXp (andywinxp at gmail.com)
Date: 2025-06-19T12:36:14+02:00

Commit Message:
LASTEXPRESS: DEBUG: Fix debugger termination

Changed paths:
    engines/lastexpress/debug.cpp


diff --git a/engines/lastexpress/debug.cpp b/engines/lastexpress/debug.cpp
index 96d69840d0e..e73845dd33a 100644
--- a/engines/lastexpress/debug.cpp
+++ b/engines/lastexpress/debug.cpp
@@ -59,7 +59,6 @@ ImGuiState *_state = nullptr;
 
 void onImGuiInit() {
 	ImGuiIO &io = ImGui::GetIO();
-	io.Fonts->AddFontDefault();
 	io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; 
 
 	_state = new ImGuiState();
@@ -67,6 +66,9 @@ void onImGuiInit() {
 }
 
 void onImGuiRender() {
+	if (_state->_engine->shouldQuit())
+		return;
+
 	if (!debugChannelSet(-1, kDebugConsole)) {
 		ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange | ImGuiConfigFlags_NoMouse;
 		return;




More information about the Scummvm-git-logs mailing list