aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/detection.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-09 08:44:22 +0200
committerEugene Sandulenko2017-01-25 22:42:00 +0100
commit9e7129f41709f21500c20a44005c293b934d99cd (patch)
tree043212cc606481ac49aded2a7732bcabc824cf0d /engines/cryo/detection.cpp
parent85bc7f820f23f3610bd33175a07bfaecb00ae90f (diff)
downloadscummvm-rg350-9e7129f41709f21500c20a44005c293b934d99cd.tar.gz
scummvm-rg350-9e7129f41709f21500c20a44005c293b934d99cd.tar.bz2
scummvm-rg350-9e7129f41709f21500c20a44005c293b934d99cd.zip
CRYO: Added isDemo()
Diffstat (limited to 'engines/cryo/detection.cpp')
-rw-r--r--engines/cryo/detection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cryo/detection.cpp b/engines/cryo/detection.cpp
index a0514cb681..7afc81e76e 100644
--- a/engines/cryo/detection.cpp
+++ b/engines/cryo/detection.cpp
@@ -30,9 +30,9 @@
namespace Cryo {
-const char *CryoEngine::getGameId() const {
- return _gameDescription->gameId;
-}
+const char *CryoEngine::getGameId() const { return _gameDescription->gameId; }
+bool CryoEngine::isDemo() const { return _gameDescription->flags & ADGF_DEMO; }
+Common::Platform CryoEngine::getPlatform() const { return _gameDescription->platform; }
}