aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {