aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-15 13:50:44 +0000
committerMax Horn2006-04-15 13:50:44 +0000
commit9c4577b6399878d8ddf279e73978d70e086491a9 (patch)
tree183c018d9d5b44991a3fb74c538625bda6739a97 /base/main.cpp
parentaa4214f9401d9ab5c7161c6e2dfeddf3128a2a23 (diff)
downloadscummvm-rg350-9c4577b6399878d8ddf279e73978d70e086491a9.tar.gz
scummvm-rg350-9c4577b6399878d8ddf279e73978d70e086491a9.tar.bz2
scummvm-rg350-9c4577b6399878d8ddf279e73978d70e086491a9.zip
- Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in favor of settings in the transient config domain
- This also means you can now set those options in the config file - Fixed a bug I recently introduced that made bool command line options (like -u, -f) always return 'false' when used in their single letter form svn-id: r21909
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 6fdcc55b36..740434fe2e 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -137,7 +137,7 @@ static bool launcherDialog(GameDetector &detector, OSystem &system) {
system.setGraphicsMode(ConfMan.get("gfx_mode").c_str());
// Make GUI 640 x 400
- system.initSize(320, 200, (detector._force1xOverlay ? 1 : 2));
+ system.initSize(320, 200, (ConfMan.getBool("force-1x-overlay") ? 1 : 2));
system.endGFXTransaction();