diff options
-rw-r--r-- | engines/director/detection.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/director/detection.cpp b/engines/director/detection.cpp index 68f2c89326..ca0b5c1515 100644 --- a/engines/director/detection.cpp +++ b/engines/director/detection.cpp @@ -23,6 +23,8 @@ #include "base/plugins.h" #include "engines/advancedDetector.h" + +#include "common/config-manager.h" #include "common/savefile.h" #include "common/system.h" #include "common/textconsole.h" @@ -55,6 +57,9 @@ Common::Language DirectorEngine::getLanguage() const { } Common::String DirectorEngine::getEXEName() const { + if (ConfMan.hasKey("start_movie")) + return ConfMan.get("start_movie"); + return _gameDescription->desc.filesDescriptions[0].fileName; } |