diff options
-rw-r--r-- | engines/advancedDetector.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp index 6f4efcfb57..26b06b6417 100644 --- a/engines/advancedDetector.cpp +++ b/engines/advancedDetector.cpp @@ -91,7 +91,11 @@ DetectedGame AdvancedMetaEngine::toDetectedGame(const ADDetectedGame &adGame) co extra = ""; } else { const PlainGameDescriptor *pgd = findPlainGameDescriptor(desc->gameId, _gameIds); - title = pgd->description; + if (pgd) { + title = pgd->description; + } else { + title = ""; + } extra = desc->extra; } |