]> git.pld-linux.org Git - packages/scummvm.git/commitdiff
- allow cracked games to run
authorwolf <wolf@pld-linux.org>
Mon, 31 Oct 2005 19:15:41 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    scummvm-copyprotection.patch -> 1.1

scummvm-copyprotection.patch [new file with mode: 0644]

diff --git a/scummvm-copyprotection.patch b/scummvm-copyprotection.patch
new file mode 100644 (file)
index 0000000..0b075c6
--- /dev/null
@@ -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);
This page took 0.118709 seconds and 4 git commands to generate.