aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/plugin.cpp')
-rw-r--r--engines/touche/plugin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/touche/plugin.cpp b/engines/touche/plugin.cpp
index 17d8894d7c..ab635c4984 100644
--- a/engines/touche/plugin.cpp
+++ b/engines/touche/plugin.cpp
@@ -36,7 +36,7 @@ static GameList GAME_detectGames(const FSList &fslist);
static const PlainGameDescriptor toucheGames[] = {
{"touche", "Touche: The Adventures of the Fifth Musketeer"},
{"touche-fr", "Touche: Les Aventures du Cinquieme Mousquetaire"},
- {"touche-de", "Touche - Die Abenteuer des funften Musketiers"},
+ {"touche-de", "Touche: Die Abenteuer des funften Musketiers"},
{"touche-it", "Touche: The Adventures of the Fifth Musketeer"},
{0, 0}
};
@@ -116,6 +116,8 @@ namespace Touche {
bool ToucheEngine::detectGame() {
int i = Common::AdvancedDetector::detectBestMatchingGame(detectionParams);
+ if (i < 0)
+ return false;
_language = gameDescriptions[i].language;
return true;