diff options
author | Christopher Page | 2008-08-16 02:53:16 +0000 |
---|---|---|
committer | Christopher Page | 2008-08-16 02:53:16 +0000 |
commit | ec8dac5540d87925525523eb1715abc1ec271261 (patch) | |
tree | 011dadbf571c2794c7868827bd910aec51e2110d /engines/gob/detection.cpp | |
parent | dca5f7dc20743d57c30ee2978979c3f5b313658f (diff) | |
download | scummvm-rg350-ec8dac5540d87925525523eb1715abc1ec271261.tar.gz scummvm-rg350-ec8dac5540d87925525523eb1715abc1ec271261.tar.bz2 scummvm-rg350-ec8dac5540d87925525523eb1715abc1ec271261.zip |
Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
Diffstat (limited to 'engines/gob/detection.cpp')
-rw-r--r-- | engines/gob/detection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/detection.cpp b/engines/gob/detection.cpp index 63a0f8f45b..15e343c8cc 100644 --- a/engines/gob/detection.cpp +++ b/engines/gob/detection.cpp @@ -1972,9 +1972,15 @@ public: return "Goblins Games (C) Coktel Vision"; } + virtual bool hasFeature(MetaEngineFeature f) const; virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const; }; +bool GobMetaEngine::hasFeature(MetaEngineFeature f) const { + return + (f == kSupportsRTL); +} + bool GobMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const { const Gob::GOBGameDescription *gd = (const Gob::GOBGameDescription *)desc; if (gd) { |