aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2008-01-02 18:59:15 +0000
committerEugene Sandulenko2008-01-02 18:59:15 +0000
commit040a7b54fa0216ff786c58adb23aee1ab5364d9c (patch)
tree16e3680d016ef3c4f5b594f5faf8e5a4e019da4d /engines/scumm/scumm.cpp
parent2d94049bead04ae42d4051ec855fbcb2bda645ee (diff)
downloadscummvm-rg350-040a7b54fa0216ff786c58adb23aee1ab5364d9c.tar.gz
scummvm-rg350-040a7b54fa0216ff786c58adb23aee1ab5364d9c.tar.bz2
scummvm-rg350-040a7b54fa0216ff786c58adb23aee1ab5364d9c.zip
Oops. Moved too much code in the last commit.
svn-id: r30162
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index bc907c0520..8b0eb782fc 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -602,6 +602,12 @@ ScummEngine::~ScummEngine() {
ScummEngine_v5::ScummEngine_v5(OSystem *syst, const DetectorResult &dr)
: ScummEngine(syst, dr) {
+ // All "classic" games (V5 and older) encrypted their data files
+ // with exception of the GF_OLD256 games and the PC-Engine version
+ // of Loom.
+ if (!(_game.features & GF_OLD256) && _game.platform != Common::kPlatformPCEngine)
+ _game.features |= GF_USE_KEY;
+
resetCursors();
// Setup flashlight