aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/simon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/simon/simon.cpp')
-rw-r--r--engines/simon/simon.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index 781915ccb5..26fa3f8025 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -404,6 +404,13 @@ int SimonEngine::init() {
// Detect game
if (!initGame()) {
+ _system->beginGFXTransaction();
+ initCommonGFX(false);
+ _system->initSize(320, 200, 2);
+ _system->endGFXTransaction();
+ GUI::MessageDialog dialog("No valid games were found in the specified directory.");
+ dialog.runModal();
+
return -1;
}