diff options
author | Max Horn | 2004-03-28 22:06:38 +0000 |
---|---|---|
committer | Max Horn | 2004-03-28 22:06:38 +0000 |
commit | 0e36493349b3c35e55d1e2d54dd9762d26d4b68a (patch) | |
tree | a2154d795163faf85f316823d15efe01531d9aba /scumm/script.cpp | |
parent | 039e06c59c68b7dbabdf77f9a7800e701f4de60d (diff) | |
download | scummvm-rg350-0e36493349b3c35e55d1e2d54dd9762d26d4b68a.tar.gz scummvm-rg350-0e36493349b3c35e55d1e2d54dd9762d26d4b68a.tar.bz2 scummvm-rg350-0e36493349b3c35e55d1e2d54dd9762d26d4b68a.zip |
Proper copy-protection bypass for Mac Loom (still crashes when entering the right code, though)
svn-id: r13419
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 02ac3273d0..5ee40b1040 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -501,8 +501,9 @@ int ScummEngine::readVar(uint var) { // during the game... if (_gameId == GID_INDY3 && (_features & GF_OLD_BUNDLE) && var == 94 && bit == 4) { return 0; -// } else if (_gameId == GID_LOOM && var == 221 && bit == 14) { // For Mac Loom - } else if (_gameId == GID_LOOM && var == 214 && bit == 15) { // For PC Loom + } else if (var == 221 && bit == 14 && _gameId == GID_LOOM && (_features & GF_MACINTOSH)) { // For Mac Loom + return 0; + } else if (var == 214 && bit == 15 && _gameId == GID_LOOM && (_features & GF_PC)) { // For PC Loom return 0; } else if (_gameId == GID_ZAK256 && var == 151 && bit == 8) { return 0; |