diff options
Diffstat (limited to 'engines/agi/detection.cpp')
-rw-r--r-- | engines/agi/detection.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp index 39275c4f70..b442660045 100644 --- a/engines/agi/detection.cpp +++ b/engines/agi/detection.cpp @@ -259,6 +259,10 @@ bool AgiMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameD case GID_WINNIE: *engine = new Agi::WinnieEngine(syst, gd); break; + default: + res = false; + error("PreAGI engine: unknown gameID"); + break; } break; case Agi::GType_V1: |