diff options
author | Eugene Sandulenko | 2016-10-24 10:23:44 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-24 10:56:40 +0200 |
commit | 012cf1b561f803f02f9bfe973447a34f7e01757c (patch) | |
tree | 40b9c26d922c10b6439fa6b6bd173d138695f22f | |
parent | af783c73e77c20655b78313a559f33d47c5950b2 (diff) | |
download | scummvm-rg350-012cf1b561f803f02f9bfe973447a34f7e01757c.tar.gz scummvm-rg350-012cf1b561f803f02f9bfe973447a34f7e01757c.tar.bz2 scummvm-rg350-012cf1b561f803f02f9bfe973447a34f7e01757c.zip |
DIRECTOR: Run start movie specified in the command line
-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; } |