diff options
| author | Eugene Sandulenko | 2016-10-09 08:44:22 +0200 |
|---|---|---|
| committer | Eugene Sandulenko | 2017-01-25 22:42:00 +0100 |
| commit | 9e7129f41709f21500c20a44005c293b934d99cd (patch) | |
| tree | 043212cc606481ac49aded2a7732bcabc824cf0d /engines/cryo/detection.cpp | |
| parent | 85bc7f820f23f3610bd33175a07bfaecb00ae90f (diff) | |
| download | scummvm-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.cpp | 6 |
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; } } |
