aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/detection.cpp')
-rw-r--r--engines/lastexpress/detection.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/lastexpress/detection.cpp b/engines/lastexpress/detection.cpp
index d8b98bbbf2..bf575b63f8 100644
--- a/engines/lastexpress/detection.cpp
+++ b/engines/lastexpress/detection.cpp
@@ -21,6 +21,7 @@
*/
#include "lastexpress/lastexpress.h"
+#include "engines/advancedDetector.h"
namespace LastExpress {
@@ -202,6 +203,10 @@ bool LastExpressMetaEngine::createInstance(OSystem *syst, Engine **engine, const
return gd != 0;
}
+bool LastExpressEngine::isDemo() const {
+ return (bool)(_gameDescription->flags & ADGF_DEMO);
+}
+
} // End of namespace LastExpress
#if PLUGIN_ENABLED_DYNAMIC(LASTEXPRESS)