SOURCES: scummvm-copyprotection.patch (NEW) - allow cracked games ...
wolf
wolf at pld-linux.org
Mon Oct 31 20:15:46 CET 2005
Author: wolf Date: Mon Oct 31 19:15:46 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allow cracked games to run
---- Files affected:
SOURCES:
scummvm-copyprotection.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/scummvm-copyprotection.patch
diff -u /dev/null SOURCES/scummvm-copyprotection.patch:1.1
--- /dev/null Mon Oct 31 20:15:46 2005
+++ SOURCES/scummvm-copyprotection.patch Mon Oct 31 20:15:41 2005
@@ -0,0 +1,15 @@
+diff -ruN scummvm-0.8.0./simon/simon.cpp scummvm-0.8.0/simon/simon.cpp
+--- scummvm-0.8.0./simon/simon.cpp 2005-10-23 15:45:10.000000000 +0200
++++ scummvm-0.8.0/simon/simon.cpp 2005-10-31 20:11:43.200089576 +0100
+@@ -345,11 +345,6 @@
+ sprintf(md5str + j*2, "%02x", (int)md5sum[j]);
+ }
+
+- for (j = 0; j < 3; j++) {
+- if (!strcmp(md5str, bad_versions[j]))
+- error("Cracked versions aren't supported");
+- }
+-
+ printf("%s %s\n", md5str, buf);
+ const MD5Table *elem;
+ elem = (const MD5Table *)bsearch(md5str, md5table, ARRAYSIZE(md5table)-1, sizeof(MD5Table), compareMD5Table);
================================================================
More information about the pld-cvs-commit
mailing list