diff options
author | Eugene Sandulenko | 2007-06-12 12:22:25 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-06-12 12:22:25 +0000 |
commit | 6e5b70f5e9f8690b467ea8837e727e1048838788 (patch) | |
tree | 99421afdf99a4b66be53c398c048133bc79c614e /engines/parallaction | |
parent | 72cfa9d8293aa897a89d577d9844a2a286d8f0e2 (diff) | |
download | scummvm-rg350-6e5b70f5e9f8690b467ea8837e727e1048838788.tar.gz scummvm-rg350-6e5b70f5e9f8690b467ea8837e727e1048838788.tar.bz2 scummvm-rg350-6e5b70f5e9f8690b467ea8837e727e1048838788.zip |
Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/detection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp index 63ab893641..7620c8b5a8 100644 --- a/engines/parallaction/detection.cpp +++ b/engines/parallaction/detection.cpp @@ -131,7 +131,9 @@ REGISTER_PLUGIN(PARALLACTION, "Parallaction engine", "Nippon Safes Inc. (C) Dyna namespace Parallaction { bool Parallaction::detectGame() { - _gameDescription = (const PARALLACTIONGameDescription *)Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + Common::EncapsulatedADGameDesc encapsulatedDesc = Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + _gameDescription = (const PARALLACTIONGameDescription *)(encapsulatedDesc.realDesc); + return (_gameDescription != 0); } |