aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/engine.cpp')
-rw-r--r--engines/engine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index b19daa2611..5fc8f62e27 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -41,6 +41,7 @@
#include "common/list.h"
#include "common/list_intern.h"
#include "common/scummsys.h"
+#include "common/taskbar.h"
#include "common/textconsole.h"
#include "common/translation.h"
@@ -83,6 +84,11 @@ static void defaultErrorHandler(const char *msg) {
debugger->attach(msg);
debugger->onFrame();
}
+
+#if defined(USE_TASKBAR)
+ g_system->getTaskbarManager()->setProgressState(Common::TaskbarManager::kTaskbarError);
+#endif
+
}
}