aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/prc.cpp
diff options
context:
space:
mode:
authorKari Salminen2008-08-08 18:28:13 +0000
committerKari Salminen2008-08-08 18:28:13 +0000
commitc0701bfcb670e43cf4a26bfefb94bf82a76f62b9 (patch)
tree185d331dcca281236902b3083b5dfb5494da8ac5 /engines/cine/prc.cpp
parent70760a77fdb42a18ea9997f7a3c74b613c589af6 (diff)
downloadscummvm-rg350-c0701bfcb670e43cf4a26bfefb94bf82a76f62b9.tar.gz
scummvm-rg350-c0701bfcb670e43cf4a26bfefb94bf82a76f62b9.tar.bz2
scummvm-rg350-c0701bfcb670e43cf4a26bfefb94bf82a76f62b9.zip
Added detection entry for the Sony published CD version of Future Wars.
Also added decrypting of the crypted AUTO00.PRC for this particular version. Now this version should work but no CD audio support for it yet though. svn-id: r33703
Diffstat (limited to 'engines/cine/prc.cpp')
-rw-r--r--engines/cine/prc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp
index 27b1044620..5d789f9b3b 100644
--- a/engines/cine/prc.cpp
+++ b/engines/cine/prc.cpp
@@ -61,7 +61,7 @@ bool loadPrc(const char *pPrcName) {
checkDataDisk(-1);
if ((g_cine->getGameType() == Cine::GType_FW) &&
(!scumm_stricmp(pPrcName, BOOT_PRC_NAME) || !scumm_stricmp(pPrcName, "demo.prc"))) {
- scriptPtr = dataPtr = readFile(pPrcName);
+ scriptPtr = dataPtr = readFile(pPrcName, (g_cine->getFeatures() & GF_CRYPTED_BOOT_PRC) != 0);
} else {
scriptPtr = dataPtr = readBundleFile(findFileInBundle(pPrcName));
}