[Scummvm-cvs-logs] SF.net SVN: scummvm: [24768] scummvm/trunk/engines/cine/prc.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Thu Nov 23 07:49:23 CET 2006


Revision: 24768
          http://svn.sourceforge.net/scummvm/?rev=24768&view=rev
Author:   sev
Date:     2006-11-22 22:49:23 -0800 (Wed, 22 Nov 2006)

Log Message:
-----------
Fix Amiga/Atari-specific copy protection.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/prc.cpp

Modified: scummvm/trunk/engines/cine/prc.cpp
===================================================================
--- scummvm/trunk/engines/cine/prc.cpp	2006-11-23 06:47:41 UTC (rev 24767)
+++ scummvm/trunk/engines/cine/prc.cpp	2006-11-23 06:49:23 UTC (rev 24768)
@@ -76,6 +76,12 @@
 		}
 	}
 
+	// This is copy protection. Used to hang the machine
+	if (!scumm_stricmp(pPrcName, "L201.ANI")) {
+		exitEngine = 1;
+		return;
+	}
+
 	checkDataDisk(-1);
 	if ((g_cine->getGameType() == Cine::GType_FW) &&
 		(!scumm_stricmp(pPrcName, BOOT_PRC_NAME) || !scumm_stricmp(pPrcName, "demo.prc"))) {


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