aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-10-26 18:40:59 +0000
committerFilippos Karapetis2008-10-26 18:40:59 +0000
commitc03f0219cab5fa156c3e81fbaa9d09747a4bafa3 (patch)
treedd2dec70fcde5c65e6a2d47d3480a6a54e99ae92
parentb7a219ebc6f6ffd4954a29ca4e14654ff702bed5 (diff)
downloadscummvm-rg350-c03f0219cab5fa156c3e81fbaa9d09747a4bafa3.tar.gz
scummvm-rg350-c03f0219cab5fa156c3e81fbaa9d09747a4bafa3.tar.bz2
scummvm-rg350-c03f0219cab5fa156c3e81fbaa9d09747a4bafa3.zip
Using getChild() with getChild() throws an assertion (a regression of the latest FS node changes). Commenting out this line with a FIXME so that SAGA games can work once again under Windows
svn-id: r34855
-rw-r--r--engines/saga/saga.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 7904e60d1c..14ce2855ac 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -102,7 +102,10 @@ SagaEngine::SagaEngine(OSystem *syst, const SAGAGameDescription *gameDesc)
// The Multi-OS version puts the voices file in the root directory of
// the CD. The rest of the data files are in game/itedata
- Common::File::addDefaultDirectory(_gameDataDir.getChild("game").getChild("itedata"));
+ // FIXME: This stops games from working under Windows. An assert is thrown when
+ // starting the games (_realNode is null in FSNode::getPath() in common/fs.cpp line 113)
+ // Commenting it out for now
+ //Common::File::addDefaultDirectory(_gameDataDir.getChild("game").getChild("itedata"));
// Mac CD Wyrmkeep
Common::File::addDefaultDirectory(_gameDataDir.getChild("patch"));