aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche')
-rw-r--r--engines/touche/detection.cpp6
-rw-r--r--engines/touche/touche.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index dfcda985ab..fae051ad30 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -145,12 +145,16 @@ public:
bool ToucheMetaEngine::hasFeature(MetaEngineFeature f) const {
return
- (f == kSupportsRTL) ||
(f == kSupportsListSaves) ||
(f == kSupportsLoadingDuringStartup) ||
(f == kSupportsDeleteSave);
}
+bool Touche::ToucheEngine::hasFeature(EngineFeature f) const {
+ return
+ (f == kSupportsRTL);
+}
+
bool ToucheMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
const Common::ADGameDescription *gd = desc;
if (gd) {
diff --git a/engines/touche/touche.h b/engines/touche/touche.h
index 707eedbb38..a5ff67dcc9 100644
--- a/engines/touche/touche.h
+++ b/engines/touche/touche.h
@@ -361,8 +361,10 @@ public:
ToucheEngine(OSystem *system, Common::Language language);
virtual ~ToucheEngine();
+ // Engine APIs
virtual int init();
virtual int go();
+ virtual bool hasFeature(EngineFeature f) const;
virtual void syncSoundSettings();
protected: