From f19f73eb5069b4f092714535e77efc0d6881c612 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 21 Dec 2003 15:29:52 +0000 Subject: 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 --- sky/sky.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sky') 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; } -- cgit v1.2.3