aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-26 04:22:47 +0000
committerEugene Sandulenko2006-03-26 04:22:47 +0000
commite3173172b9ae9b2cf162847cccb46e70c1c10bb8 (patch)
tree203bb859f701ba80bbe2cd199299ef3be45daac3 /base/gameDetector.cpp
parent67b8589c18ec712c5c577394d5213a54dcc005cc (diff)
downloadscummvm-rg350-e3173172b9ae9b2cf162847cccb46e70c1c10bb8.tar.gz
scummvm-rg350-e3173172b9ae9b2cf162847cccb46e70c1c10bb8.tar.bz2
scummvm-rg350-e3173172b9ae9b2cf162847cccb46e70c1c10bb8.zip
Implement feature request #1393200: "target_md5 even for command line"
svn-id: r21457
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index b5b2854d39..6e89c95f73 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -585,6 +585,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) {
settings["gui_theme"] = option;
END_OPTION
+ DO_LONG_OPTION("target-md5")
+ settings["target_md5"] = option;
+ END_OPTION
+
#ifndef DISABLE_SCUMM
DO_LONG_OPTION("tempo")
// Use the special value '0' for the base in (int)strtol.