aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/detection.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-08-15 18:26:59 +0000
committerChristopher Page2008-08-15 18:26:59 +0000
commitad5b550df8d428a0e7b94e681c63d73422620adc (patch)
tree62feb4684a18fd2face7bd3176fa1fe72b91d5ab /engines/agos/detection.cpp
parent9d3cdcb2da64ae3afdcd19f1ea18a917f9318190 (diff)
downloadscummvm-rg350-ad5b550df8d428a0e7b94e681c63d73422620adc.tar.gz
scummvm-rg350-ad5b550df8d428a0e7b94e681c63d73422620adc.tar.bz2
scummvm-rg350-ad5b550df8d428a0e7b94e681c63d73422620adc.zip
Small correction for last commit
svn-id: r33910
Diffstat (limited to 'engines/agos/detection.cpp')
-rw-r--r--engines/agos/detection.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 42dce0f121..ce7be3d440 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -109,11 +109,17 @@ public:
virtual const char *getCopyright() const {
return "AGOS (C) Adventure Soft";
}
-
+
+ virtual bool hasFeature(MetaEngineFeature f) const;
virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const;
virtual SaveStateList listSaves(const char *target) const;
};
+bool AgosMetaEngine::hasFeature(MetaEngineFeature f) const {
+ return
+ (f == kSupportsListSaves);
+}
+
bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
const AGOS::AGOSGameDescription *gd = (const AGOS::AGOSGameDescription *)desc;
bool res = true;