From bdb12a9c658fa0e8661c7a8370f1d926ed31ae62 Mon Sep 17 00:00:00 2001 From: Ben Castricum Date: Mon, 23 Apr 2012 18:51:15 +0200 Subject: SCUMM: Fix bug #3493317 by removing assert() in detection algorithm. Bug #3493317 ("SCUMM: Detecting Loom PCE without 16bpp support crashes") is caused by an assert() in detection algorithm. In case an MD5 is found the md5table, but the variant from the md5table is not found in detection_tables.h this assert triggers. However since certain variants can be left out compile-time this situation can occur. By ignoring instead of assert()-ing the entry ScummVM will no longer abort but continue the detection process. --- engines/scumm/detection.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index b47982af00..2da0abb5df 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -589,11 +589,11 @@ static void detectGames(const Common::FSList &fslist, Common::List