aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-02 21:32:23 +0000
committerMax Horn2006-04-02 21:32:23 +0000
commit214c01d15d2f010a662504ac4d608f38f4ba4847 (patch)
tree410e03dd5769b883738647666e813e05f4199897 /base/gameDetector.cpp
parent29858dadcdf4dd277995cfa83ecdeac31316df46 (diff)
downloadscummvm-rg350-214c01d15d2f010a662504ac4d608f38f4ba4847.tar.gz
scummvm-rg350-214c01d15d2f010a662504ac4d608f38f4ba4847.tar.bz2
scummvm-rg350-214c01d15d2f010a662504ac4d608f38f4ba4847.zip
Set gDebugLevel in a single unified spot, instead of two different places
svn-id: r21571
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 30d96c49f3..f4b8446798 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -566,12 +566,6 @@ void GameDetector::processSettings(Common::String &target, Common::StringMap &se
#endif
- if (settings.contains("debuglevel")) {
- gDebugLevel = (int)strtol(settings["debuglevel"].c_str(), 0, 10);
- printf("Debuglevel (from command line): %d\n", gDebugLevel);
- settings.erase("debuglevel"); // This option should not be passed to ConfMan.
- }
-
if (settings.contains("dump-scripts")) {
_dumpScripts = (settings["dump-scripts"] == "true");
settings.erase("dump-scripts"); // This option should not be passed to ConfMan.