diff options
-rw-r--r-- | engines/scumm/plugin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index 43abca660a..d2d242f26b 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1602,6 +1602,12 @@ PluginError Engine_SCUMM_create(OSystem *syst, Engine **engine) { } } } + + // If we narrowed it down too much, abort + if (results.empty()) { + warning("Engine_SCUMM_create: Game data inconsistent with platform override"); + return kNoGameDataFoundError; + } // Still no unique match found -> we just use the first one if (results.size() > 1) { |