From 040a7b54fa0216ff786c58adb23aee1ab5364d9c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 2 Jan 2008 18:59:15 +0000 Subject: Oops. Moved too much code in the last commit. svn-id: r30162 --- engines/scumm/scumm.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/scumm/scumm.cpp') 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 -- cgit v1.2.3