diff options
-rw-r--r-- | engines/gnap/detection.cpp | 15 | ||||
-rw-r--r-- | engines/gnap/gnap.cpp | 5 |
2 files changed, 11 insertions, 9 deletions
diff --git a/engines/gnap/detection.cpp b/engines/gnap/detection.cpp index 7e4c085503..69628f9cb1 100644 --- a/engines/gnap/detection.cpp +++ b/engines/gnap/detection.cpp @@ -78,14 +78,21 @@ bool GnapMetaEngine::hasFeature(MetaEngineFeature f) const { return (f == kSupportsListSaves) || (f == kSupportsLoadingDuringStartup) || - (f == kSupportsDeleteSave); + (f == kSupportsDeleteSave) || + (f == kSavesSupportMetaInfo) || + (f == kSavesSupportCreationDate); #if 0 - (f == kSavesSupportMetaInfo) || - (f == kSavesSupportThumbnail) || - (f == kSavesSupportCreationDate); + (f == kSavesSupportThumbnail) || #endif } +bool Gnap::GnapEngine::hasFeature(EngineFeature f) const { + return + (f == kSupportsRTL) || + (f == kSupportsLoadingDuringRuntime) || + (f == kSupportsSavingDuringRuntime); +} + void GnapMetaEngine::removeSaveState(const char *target, int slot) const { Common::String fileName = Common::String::format("%s.%03d", target, slot); g_system->getSavefileManager()->removeSavefile(fileName); diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp index a755c9841f..19dd353667 100644 --- a/engines/gnap/gnap.cpp +++ b/engines/gnap/gnap.cpp @@ -221,11 +221,6 @@ Common::Error GnapEngine::run() { return Common::kNoError; } -bool GnapEngine::hasFeature(EngineFeature f) const { - return - false; -} - void GnapEngine::updateEvents() { Common::Event event; |