aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2003-09-05 22:22:59 +0000
committerMax Horn2003-09-05 22:22:59 +0000
commit5ed75550d6e7f0ea64d44146e1c3d023c497e8b7 (patch)
treea7bda98fa3d006db7fb77a6aa2dd589d90549508 /common
parent3aa8454efaf6674ceade07182ae8c4b2d7f12143 (diff)
downloadscummvm-rg350-5ed75550d6e7f0ea64d44146e1c3d023c497e8b7.tar.gz
scummvm-rg350-5ed75550d6e7f0ea64d44146e1c3d023c497e8b7.tar.bz2
scummvm-rg350-5ed75550d6e7f0ea64d44146e1c3d023c497e8b7.zip
init value of _amiga to false
svn-id: r10024
Diffstat (limited to 'common')
-rw-r--r--common/gameDetector.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp
index d918169b5a..5daae56fa5 100644
--- a/common/gameDetector.cpp
+++ b/common/gameDetector.cpp
@@ -173,6 +173,7 @@ GameDetector::GameDetector() {
_master_volume = kDefaultMasterVolume;
_music_volume = kDefaultMusicVolume;
_sfx_volume = kDefaultSFXVolume;
+ _amiga = false;
_platform = 0;
_language = 0;
@@ -587,12 +588,12 @@ void GameDetector::setGame(const String &name) {
// The command line and launcher options
// override config file global and game-specific options.
- g_config->set_domain ("_COMMAND_LINE");
+ g_config->set_domain("_COMMAND_LINE");
updateconfig();
- g_config->set_domain ("_USER_OVERRIDES");
+ g_config->set_domain("_USER_OVERRIDES");
updateconfig();
- g_config->delete_domain ("_COMMAND_LINE");
- g_config->delete_domain ("_USER_OVERRIDES");
+ g_config->delete_domain("_COMMAND_LINE");
+ g_config->delete_domain("_USER_OVERRIDES");
g_config->set_domain(name);
if (_debugMode)
debug(1, "Debuglevel (from config): %d", _debugLevel);