aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/engine.cpp')
-rw-r--r--engines/engine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index 54fe1777df..aedcb11b28 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -50,6 +50,7 @@
#include "backends/keymapper/keymapper.h"
+#include "gui/gui-manager.h"
#include "gui/debugger.h"
#include "gui/dialog.h"
#include "gui/message.h"
@@ -303,7 +304,7 @@ void initGraphics(int width, int height, bool defaultTo1xScaler, const Graphics:
OSystem::TransactionError gfxError = g_system->endGFXTransaction();
- if (!splash)
+ if (!splash && !GUI::GuiManager::instance()._launched)
splashScreen();
if (gfxError == OSystem::kTransactionSuccess)