aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-01-01 23:42:46 +0000
committerTravis Howell2004-01-01 23:42:46 +0000
commit01427a2d76e6c76b765a81890c96b9206bd81acf (patch)
treeb4b9fca55819a7bfbb4f59354a014b6ee4dfa070 /scumm
parent2b3d8a42dd1b15b55940d9c16d0b55e6a9e3a9f5 (diff)
downloadscummvm-rg350-01427a2d76e6c76b765a81890c96b9206bd81acf.tar.gz
scummvm-rg350-01427a2d76e6c76b765a81890c96b9206bd81acf.tar.bz2
scummvm-rg350-01427a2d76e6c76b765a81890c96b9206bd81acf.zip
Bypass Monkey Island 1 CD copy protection on restart.
svn-id: r12076
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index a918c49550..1072356ad3 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -2547,6 +2547,9 @@ void ScummEngine::restart() {
}
_sound->setupSound(); // Reinit sound engine
+ if (_gameId == GID_MONKEY || _gameId == GID_MONKEY_SEGA)
+ _scummVars[74] = 1225;
+
// Re-run bootscript
runScript(1, 0, 0, &_bootParam);
}