aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/detection.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-03-09 02:25:29 +0000
committerTravis Howell2009-03-09 02:25:29 +0000
commit2bd2fe43c5b2514b9dc3e5d851dcb3affec78167 (patch)
tree344068c3936357f6eb6fdff37186fb8bb5e123d8 /engines/agos/detection.cpp
parentb2d49eaeef32b34353c787884f23892411e169f9 (diff)
downloadscummvm-rg350-2bd2fe43c5b2514b9dc3e5d851dcb3affec78167.tar.gz
scummvm-rg350-2bd2fe43c5b2514b9dc3e5d851dcb3affec78167.tar.bz2
scummvm-rg350-2bd2fe43c5b2514b9dc3e5d851dcb3affec78167.zip
Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
Diffstat (limited to 'engines/agos/detection.cpp')
-rw-r--r--engines/agos/detection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 59f603a905..7ecd6d3374 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -133,9 +133,11 @@ bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame
bool res = true;
switch (gd->gameType) {
+#ifdef ENABLE_PN
case AGOS::GType_PN:
*engine = new AGOS::AGOSEngine_PN(syst);
break;
+#endif
case AGOS::GType_ELVIRA1:
*engine = new AGOS::AGOSEngine_Elvira1(syst);
break;