aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorBastien Bouclet2016-09-15 18:34:15 +0200
committerBastien Bouclet2019-11-03 11:43:00 +0100
commit9c8bd056d6d597a10f7f653b559dc34cd2bd2be9 (patch)
treeb38576232baefa4c4310498ca7df184fff8d12c1 /engines/saga
parent4b42112721a3a12ee10652f2c1dfcd227ab140b3 (diff)
downloadscummvm-rg350-9c8bd056d6d597a10f7f653b559dc34cd2bd2be9.tar.gz
scummvm-rg350-9c8bd056d6d597a10f7f653b559dc34cd2bd2be9.tar.bz2
scummvm-rg350-9c8bd056d6d597a10f7f653b559dc34cd2bd2be9.zip
ENGINES: Stop using 'single id'
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/detection.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/saga/detection.cpp b/engines/saga/detection.cpp
index 713756539b..ed8d7cd66d 100644
--- a/engines/saga/detection.cpp
+++ b/engines/saga/detection.cpp
@@ -28,7 +28,6 @@
#include "common/config-manager.h"
#include "engines/advancedDetector.h"
-#include "engines/obsolete.h"
#include "common/system.h"
#include "graphics/thumbnail.h"
@@ -81,7 +80,6 @@ const ADGameFileDescription *SagaEngine::getFilesDescriptions() const { return _
}
static const PlainGameDescriptor sagaGames[] = {
- {"saga", "SAGA Engine game"},
{"ite", "Inherit the Earth: Quest for the Orb"},
{"ihnm", "I Have No Mouth and I Must Scream"},
{"dino", "Dinotopia"},
@@ -89,24 +87,11 @@ static const PlainGameDescriptor sagaGames[] = {
{0, 0}
};
-static const Engines::ObsoleteGameID obsoleteGameIDsTable[] = {
- {"ite", "saga", Common::kPlatformUnknown},
- {"ihnm", "saga", Common::kPlatformUnknown},
- {"dino", "saga", Common::kPlatformUnknown},
- {"fta2", "saga", Common::kPlatformUnknown},
- {0, 0, Common::kPlatformUnknown}
-};
-
#include "saga/detection_tables.h"
class SagaMetaEngine : public AdvancedMetaEngine {
public:
SagaMetaEngine() : AdvancedMetaEngine(Saga::gameDescriptions, sizeof(Saga::SAGAGameDescription), sagaGames) {
- _singleId = "saga";
- }
-
- PlainGameDescriptor findGame(const char *gameId) const override {
- return Engines::findGameID(gameId, _gameIds, obsoleteGameIDsTable);
}
const char *getEngineId() const {
@@ -142,7 +127,6 @@ public:
virtual bool hasFeature(MetaEngineFeature f) const;
virtual Common::Error createInstance(OSystem *syst, Engine **engine) const {
- Engines::upgradeTargetIfNecessary(obsoleteGameIDsTable);
return AdvancedMetaEngine::createInstance(syst, engine);
}
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;