aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-06-15 17:37:28 +0000
committerMax Horn2007-06-15 17:37:28 +0000
commit0a7bb215d9d4888c7106b41f6ca2ee46e09bca70 (patch)
treedb531c81aefd4b4d7f21a8cafbe3f1b763df0fc9
parentd6e47d5fd322cf7cb61bee94b946096ecef64abb (diff)
downloadscummvm-rg350-0a7bb215d9d4888c7106b41f6ca2ee46e09bca70.tar.gz
scummvm-rg350-0a7bb215d9d4888c7106b41f6ca2ee46e09bca70.tar.bz2
scummvm-rg350-0a7bb215d9d4888c7106b41f6ca2ee46e09bca70.zip
Added a FIXME comment to the adv. detector code regarding (not) using FSNode/FSList
svn-id: r27425
-rw-r--r--common/advancedDetector.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp
index 6b4d3f685e..a342ed910a 100644
--- a/common/advancedDetector.cpp
+++ b/common/advancedDetector.cpp
@@ -338,6 +338,9 @@ static ADGameDescList detectGame(const FSList *fslist, const Common::ADParams &p
}
}
+ // TODO/FIXME: Fingolfin says: It's not good that we have two different code paths here,
+ // one using a FSList, one using File::open, as that will lead to discrepancies and subtle
+ // problems caused by those.
if (fslist != 0) {
// Get the information of the existing files
for (FSList::const_iterator file = fslist->begin(); file != fslist->end(); ++file) {