aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/plugin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp
index 455fec01e3..4703bf2ab0 100644
--- a/engines/scumm/plugin.cpp
+++ b/engines/scumm/plugin.cpp
@@ -1312,8 +1312,10 @@ Engine *Engine_SCUMM_create(OSystem *syst) {
detectGames(fslist, results, gameid);
// Unable to locate game data
- if (results.empty())
+ if (results.empty()) {
+ warning("ScummEngine: unable to locate game data");
return 0;
+ }
DetectorResult res(*(results.begin()));