[Scummvm-cvs-logs] SF.net SVN: scummvm:[35964] scummvm/branches/branch-0-13-0

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Tue Jan 20 23:50:59 CET 2009


Revision: 35964
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35964&view=rev
Author:   Kirben
Date:     2009-01-20 22:50:59 +0000 (Tue, 20 Jan 2009)

Log Message:
-----------
Bypass copy protection screen completely in Waxworks, since copy protection is disabled in Good Old Games release.

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/README
    scummvm/branches/branch-0-13-0/engines/agos/script.cpp

Modified: scummvm/branches/branch-0-13-0/README
===================================================================
--- scummvm/branches/branch-0-13-0/README	2009-01-20 22:49:59 UTC (rev 35963)
+++ scummvm/branches/branch-0-13-0/README	2009-01-20 22:50:59 UTC (rev 35964)
@@ -299,6 +299,7 @@
   * 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:

Modified: scummvm/branches/branch-0-13-0/engines/agos/script.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/agos/script.cpp	2009-01-20 22:49:59 UTC (rev 35963)
+++ scummvm/branches/branch-0-13-0/engines/agos/script.cpp	2009-01-20 22:50:59 UTC (rev 35964)
@@ -422,7 +422,14 @@
 
 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list