[Scummvm-cvs-logs] SF.net SVN: scummvm:[35963] scummvm/trunk

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


Revision: 35963
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35963&view=rev
Author:   Kirben
Date:     2009-01-20 22:49: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/trunk/README
    scummvm/trunk/engines/agos/script.cpp

Modified: scummvm/trunk/README
===================================================================
--- scummvm/trunk/README	2009-01-20 22:46:34 UTC (rev 35962)
+++ scummvm/trunk/README	2009-01-20 22:49:59 UTC (rev 35963)
@@ -301,6 +301,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/trunk/engines/agos/script.cpp
===================================================================
--- scummvm/trunk/engines/agos/script.cpp	2009-01-20 22:46:34 UTC (rev 35962)
+++ scummvm/trunk/engines/agos/script.cpp	2009-01-20 22:49:59 UTC (rev 35963)
@@ -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