aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/prc.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-11-23 06:49:23 +0000
committerEugene Sandulenko2006-11-23 06:49:23 +0000
commit57ba5fc233e29909fa9f5d8bf5d298b7a49cc685 (patch)
tree929b025ca58286ffd86ba4a1c8b1587d70aadc3a /engines/cine/prc.cpp
parent51a621fe98f1aaccbe3a35f96336824df9e27ac9 (diff)
downloadscummvm-rg350-57ba5fc233e29909fa9f5d8bf5d298b7a49cc685.tar.gz
scummvm-rg350-57ba5fc233e29909fa9f5d8bf5d298b7a49cc685.tar.bz2
scummvm-rg350-57ba5fc233e29909fa9f5d8bf5d298b7a49cc685.zip
Fix Amiga/Atari-specific copy protection.
svn-id: r24768
Diffstat (limited to 'engines/cine/prc.cpp')
-rw-r--r--engines/cine/prc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp
index 845cec69ad..bb7fbfc9d0 100644
--- a/engines/cine/prc.cpp
+++ b/engines/cine/prc.cpp
@@ -76,6 +76,12 @@ void loadPrc(const char *pPrcName) {
}
}
+ // 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"))) {