diff options
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/cine.h | 7 | ||||
-rw-r--r-- | engines/cine/detection.cpp | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/engines/cine/cine.h b/engines/cine/cine.h index 6011036eb1..ef643a115e 100644 --- a/engines/cine/cine.h +++ b/engines/cine/cine.h @@ -70,8 +70,11 @@ typedef Common::HashMap<Common::String, const char *> StringPtrHashMap; class CineEngine : public Engine { protected: - int init(); - int go(); + // Engine APIs + virtual int init(); + virtual int go(); + virtual bool hasFeature(EngineFeature f) const; + void shutdown(); bool initGame(); diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index f6aaede6b7..156cbaa805 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -540,11 +540,15 @@ public: bool CineMetaEngine::hasFeature(MetaEngineFeature f) const { return - (f == kSupportsRTL) || (f == kSupportsListSaves) || (f == kSupportsLoadingDuringStartup); } +bool Cine::CineEngine::hasFeature(EngineFeature f) const { + return + (f == kSupportsRTL); +} + bool CineMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const { const Cine::CINEGameDescription *gd = (const Cine::CINEGameDescription *)desc; if (gd) { |