aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorNicola Mettifogo2008-09-08 23:24:20 +0000
committerNicola Mettifogo2008-09-08 23:24:20 +0000
commit83e09d1aa499c827d167642de0a8ffb783c4818e (patch)
tree77f9e42ebef84e6be74cff5a686590d7340f2620 /base
parent2c0c67c08a7d2d760657d4c1c96b3ace1c7e5439 (diff)
downloadscummvm-rg350-83e09d1aa499c827d167642de0a8ffb783c4818e.tar.gz
scummvm-rg350-83e09d1aa499c827d167642de0a8ffb783c4818e.tar.bz2
scummvm-rg350-83e09d1aa499c827d167642de0a8ffb783c4818e.zip
Documented commit 34450 (game path searched recursively).
svn-id: r34456
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 4cb7751a4f..897c9fe2eb 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -155,6 +155,14 @@ static int runGame(const EnginePlugin *plugin, OSystem &system, const Common::St
system.setWindowCaption(caption.c_str());
}
+ // FIXME: at this moment, game path handling is being discussed in the mailing list,
+ // while Common::File is being reworked under the hood. After commit 34444, which
+ // changed the implementation of Common::File (specifically removing usage of fopen
+ // and fOpenNoCase, which implicitly supported backslashes in file names), some games
+ // stopped working. Example of this are the HE games which use subdirectories: Kirben
+ // found this issue on lost-win-demo at first. Thus, in commit 34450, searching the
+ // game path was made recursive as a temporary fix/workaround.
+
// Add the game path to the directory search list
Common::File::addDefaultDirectoryRecursive(path);