diff options
author | Travis Howell | 2002-11-19 09:16:46 +0000 |
---|---|---|
committer | Travis Howell | 2002-11-19 09:16:46 +0000 |
commit | 2659e19fddf724267efb3ea70a8c9951436a1cab (patch) | |
tree | f2666cc9886a51e0e98faaee75accc7e86a5b049 /scumm/script.cpp | |
parent | 3fc3b8e907fbb7618a71e0f7d6f914c232961f93 (diff) | |
download | scummvm-rg350-2659e19fddf724267efb3ea70a8c9951436a1cab.tar.gz scummvm-rg350-2659e19fddf724267efb3ea70a8c9951436a1cab.tar.bz2 scummvm-rg350-2659e19fddf724267efb3ea70a8c9951436a1cab.zip |
Added MonkeyVGA copy protection bypass, patch #640546
svn-id: r5616
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index cc87340788..413edb5fba 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -329,6 +329,11 @@ int Scumm::readVar(uint var) copyprotbypassed = true; var = 518; } + + if (var == 179 && _gameId == GID_MONKEY_VGA && !copyprotbypassed) { + copyprotbypassed = true; + var = 266; + } #endif checkRange(_numVariables - 1, 0, var, "Variable %d out of range(r)"); |