diff options
Diffstat (limited to 'engines/touche/detection.cpp')
-rw-r--r-- | engines/touche/detection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp index fd390a5d10..2860d832dd 100644 --- a/engines/touche/detection.cpp +++ b/engines/touche/detection.cpp @@ -124,7 +124,9 @@ REGISTER_PLUGIN(TOUCHE, "Touche Engine", "Touche: The Adventures of the 5th Musk namespace Touche { bool ToucheEngine::detectGame() { - const Common::ADGameDescription *gd = Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + Common::EncapsulatedADGameDesc encapsulatedDesc = Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + const Common::ADGameDescription *gd = encapsulatedDesc.realDesc; + if (gd == 0) return false; |