aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/detection.cpp')
-rw-r--r--engines/tony/detection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tony/detection.cpp b/engines/tony/detection.cpp
index 58d16842d4..6be0ca302c 100644
--- a/engines/tony/detection.cpp
+++ b/engines/tony/detection.cpp
@@ -43,6 +43,10 @@ Common::Language TonyEngine::getLanguage() const {
return _gameDescription->desc.language;
}
+bool TonyEngine::getIsDemo() const {
+ return _gameDescription->desc.flags & ADGF_DEMO;
+}
+
}
static const PlainGameDescriptor tonyGames[] = {