aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/detection.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-02-10 17:10:55 +0000
committerEugene Sandulenko2007-02-10 17:10:55 +0000
commit90a7cbd6d7f508297a895e9e22ebb7c4e6cf4d9a (patch)
treedce0406065501516a0957582c37df3608770b34a /engines/agi/detection.cpp
parente7c98ad5d6249f60c0daa22078a0172c0d9e5995 (diff)
downloadscummvm-rg350-90a7cbd6d7f508297a895e9e22ebb7c4e6cf4d9a.tar.gz
scummvm-rg350-90a7cbd6d7f508297a895e9e22ebb7c4e6cf4d9a.tar.bz2
scummvm-rg350-90a7cbd6d7f508297a895e9e22ebb7c4e6cf4d9a.zip
Get rid of AGI_AMIGA and use platform setting instead.
svn-id: r25469
Diffstat (limited to 'engines/agi/detection.cpp')
-rw-r--r--engines/agi/detection.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 04b9b9ea3c..88db486b50 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -44,6 +44,10 @@ uint32 AgiEngine::getFeatures() const {
return _gameDescription->features;
}
+Common::Platform AgiEngine::getPlatform() const {
+ return _gameDescription->desc.platform;
+}
+
uint16 AgiEngine::getVersion() const {
return _gameDescription->version;
}
@@ -497,7 +501,7 @@ static const AGIGameDescription gameDescriptions[] = {
Common::kPlatformAmiga,
},
GType_V2,
- AGI_AMIGA,
+ 0,
0x2440,
},
@@ -876,7 +880,7 @@ static const AGIGameDescription gameDescriptions[] = {
Common::kPlatformAmiga,
},
GType_V3,
- AGI_AMIGA,
+ 0,
0x3149,
},
@@ -1327,7 +1331,7 @@ static const AGIGameDescription gameDescriptions[] = {
Common::kPlatformAmiga,
},
GType_V2,
- AGI_AMIGA,
+ 0,
0x2936,
},