aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-01-20 22:49:59 +0000
committerTravis Howell2009-01-20 22:49:59 +0000
commitf8da825177a8554e46deed6008916819574bdbae (patch)
treed7a9d5fa635f7cb195e4db946bb6f56c21a59f53
parent79e4b6b2b2db45559fe6e5d7994b287219e80b25 (diff)
downloadscummvm-rg350-f8da825177a8554e46deed6008916819574bdbae.tar.gz
scummvm-rg350-f8da825177a8554e46deed6008916819574bdbae.tar.bz2
scummvm-rg350-f8da825177a8554e46deed6008916819574bdbae.zip
Bypass copy protection screen completely in Waxworks, since copy protection is disabled in Good Old Games release.
svn-id: r35963
-rw-r--r--README1
-rw-r--r--engines/agos/script.cpp9
2 files changed, 9 insertions, 1 deletions
diff --git a/README b/README
index 1d7c42022e..056b3653b3 100644
--- a/README
+++ b/README
@@ -301,6 +301,7 @@ ScummVM will skip copy protection in the following games:
* Simon the Sorcerer 2 (Floppy version)
-- bypassed with kind permission from Adventure Soft,
since it was bypassed in all CD releases of the game.
+ * Waxworks
3.2) Commodore64 games notes:
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 3771e2fba5..edbb3a7a72 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -422,7 +422,14 @@ void AGOSEngine::o_done() {
void AGOSEngine::o_process() {
// 71: start subroutine
- Subroutine *sub = getSubroutineByID(getVarOrWord());
+ uint16 id = getVarOrWord();
+
+ if (!_copyProtection && getGameType() == GType_WW && id == 71) {
+ // Copy protection was disabled in Good Old Games release
+ return;
+ }
+
+ Subroutine *sub = getSubroutineByID(id);
if (sub != NULL) {
#ifdef __DS__
// HACK: Skip scene of Simon reading letter from Calypso