aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
Diffstat (limited to 'sky')
-rw-r--r--sky/sky.cpp6
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;
}