aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-04-25 21:37:53 +0000
committerMax Horn2006-04-25 21:37:53 +0000
commitb36a5afbd841df965151716fda4c06485ac8901b (patch)
tree440f30073b0528dd3110ba042ed6c46a46305449
parente9332e41d6508bd143df2e1e2fa31e8434011552 (diff)
downloadscummvm-rg350-b36a5afbd841df965151716fda4c06485ac8901b.tar.gz
scummvm-rg350-b36a5afbd841df965151716fda4c06485ac8901b.tar.bz2
scummvm-rg350-b36a5afbd841df965151716fda4c06485ac8901b.zip
Files that are *not* 00.LFL or 000.LFL indicate V5+ games -> teach the detector about that
svn-id: r22159
-rw-r--r--engines/scumm/plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp
index f2255db8f5..455fec01e3 100644
--- a/engines/scumm/plugin.cpp
+++ b/engines/scumm/plugin.cpp
@@ -1186,6 +1186,10 @@ void detectGames(const FSList &fslist, Common::List<DetectorResult> &results, co
} else
continue;
} else {
+ // Must be a V5+ game
+ if (g->version < 5)
+ continue;
+
// So at this point the gameid is determined, but not necessarily
// the variant!