diff options
author | Torbjörn Andersson | 2005-09-09 10:12:38 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-09-09 10:12:38 +0000 |
commit | 660b8d0eeb152e78d676b1a9e3a5645614efd912 (patch) | |
tree | 2e41ca0d477b0c95b17d186102f20ff9f1fcb1fe /sky | |
parent | d28cb8931e3f0f684efeae102c4cc10c9aa523e3 (diff) | |
download | scummvm-rg350-660b8d0eeb152e78d676b1a9e3a5645614efd912.tar.gz scummvm-rg350-660b8d0eeb152e78d676b1a9e3a5645614efd912.tar.bz2 scummvm-rg350-660b8d0eeb152e78d676b1a9e3a5645614efd912.zip |
Use British English by default, as documented in the README file, not US
English. Since the game detector uses US English as its default language,
we also need to explicitly set the language when detecting the game. I find
that behaviour a bit unfortunate.
svn-id: r18796
Diffstat (limited to 'sky')
-rw-r--r-- | sky/sky.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index 06fb8e54d9..6ba394b3db 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -94,7 +94,9 @@ DetectedGameList Engine_SKY_detectGames(const FSList &fslist) { if (0 == scumm_stricmp("sky.dsk", fileName)) { // Match found, add to list of candidates, then abort inner loop. - detectedGames.push_back(skySetting); + // The game detector uses US English by default. We want British + // English to match the recorded voices better. + detectedGames.push_back(DetectedGame(skySetting, Common::EN_GRB, Common::kPlatformUnknown)); break; } } @@ -338,6 +340,9 @@ int SkyEngine::init(GameDetector &detector) { _skyLogic->useControlInstance(_skyControl); switch (Common::parseLanguage(ConfMan.get("language"))) { + case Common::EN_USA: + _systemVars.language = SKY_USA; + break; case Common::DE_DEU: _systemVars.language = SKY_GERMAN; break; @@ -360,7 +365,7 @@ int SkyEngine::init(GameDetector &detector) { _systemVars.language = SKY_ENGLISH; break; default: - _systemVars.language = SKY_USA; + _systemVars.language = SKY_ENGLISH; break; } |