diff options
author | Max Horn | 2003-12-21 15:29:52 +0000 |
---|---|---|
committer | Max Horn | 2003-12-21 15:29:52 +0000 |
commit | f19f73eb5069b4f092714535e77efc0d6881c612 (patch) | |
tree | ee5e418571bb6ebdb8bb6b8e72cb926ef31f2bd7 /sky | |
parent | 7b498fe7db91fa3e52d2c69bc9980f4609acc288 (diff) | |
download | scummvm-rg350-f19f73eb5069b4f092714535e77efc0d6881c612.tar.gz scummvm-rg350-f19f73eb5069b4f092714535e77efc0d6881c612.tar.bz2 scummvm-rg350-f19f73eb5069b4f092714535e77efc0d6881c612.zip |
Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
Diffstat (limited to 'sky')
-rw-r--r-- | sky/sky.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index 68158436d1..c82675a498 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -87,8 +87,8 @@ GameList Engine_SKY_gameList() { return games; } -GameList Engine_SKY_detectGames(const FSList &fslist) { - GameList detectedGames; +DetectedGameList Engine_SKY_detectGames(const FSList &fslist) { + DetectedGameList detectedGames; // Iterate over all files in the given directory for (FSList::ConstIterator file = fslist.begin(); file != fslist.end(); ++file) { const char *fileName = file->displayName().c_str(); @@ -271,7 +271,7 @@ void SkyEngine::initialise(void) { _systemVars.systemFlags |= SF_ALLOW_SPEECH; if (ConfMan.hasKey("nosubtitles")) { warning("Configuration key 'nosubtitles' is deprecated. Use 'subtitles' instead"); - if (ConfMan.getBool("nosubtitles") == false) + if (!ConfMan.getBool("nosubtitles")) _systemVars.systemFlags |= SF_ALLOW_TEXT; } |