aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorEugene Sandulenko2016-03-06 01:34:34 +0100
committerEugene Sandulenko2016-03-06 01:34:34 +0100
commitfc3f6fa13ecaeb75cb0eff41f48eadafe4493740 (patch)
tree3e4760a83218a673558436b66845f9688add4842 /engines/wintermute
parentfd470e3584c11cbacf7a58d1a4f44641587a20ea (diff)
parent83f921fa8003022c59cffc88d5cf1838cb6c6da6 (diff)
downloadscummvm-rg350-fc3f6fa13ecaeb75cb0eff41f48eadafe4493740.tar.gz
scummvm-rg350-fc3f6fa13ecaeb75cb0eff41f48eadafe4493740.tar.bz2
scummvm-rg350-fc3f6fa13ecaeb75cb0eff41f48eadafe4493740.zip
Merge pull request #695 from tobiatesan/fix_7067_a
WINTERMUTE: Add workaround for bug #7067
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/base/file/base_disk_file.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wintermute/base/file/base_disk_file.cpp b/engines/wintermute/base/file/base_disk_file.cpp
index 82a9e24dfb..b474c069db 100644
--- a/engines/wintermute/base/file/base_disk_file.cpp
+++ b/engines/wintermute/base/file/base_disk_file.cpp
@@ -119,6 +119,8 @@ Common::SeekableReadStream *openDiskFile(const Common::String &filename) {
fixedFilename = filename.c_str() + 14;
} else if (fixedFilename.hasPrefix("c:/carol6/svn/data/")) { // Carol Reed 6: Black Circle refers to "c:\carol6\svn\data\sprites\system\help.png"
fixedFilename = fixedFilename.c_str() + 19;
+ } else if (fixedFilename.hasPrefix("f:/dokument/spel 5/demo/data/")) { // Carol Reed 5 (non-demo) refers to "f:\dokument\spel 5\demo\data\scenes\credits\op_cred_00\op_cred_00.jpg"
+ fixedFilename = fixedFilename.c_str() + 29;
} else {
error("openDiskFile::Absolute path or invalid filename used in %s", filename.c_str());
}