aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/detection.cpp')
-rw-r--r--engines/sword1/detection.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp
index e4c068e667..9d9f198f8b 100644
--- a/engines/sword1/detection.cpp
+++ b/engines/sword1/detection.cpp
@@ -117,12 +117,12 @@ bool Sword1::SwordEngine::hasFeature(EngineFeature f) const {
GameList SwordMetaEngine::getSupportedGames() const {
GameList games;
- games.push_back(GameDescriptor(sword1FullSettings, Common::GUIO_NOMIDI));
- games.push_back(GameDescriptor(sword1DemoSettings, Common::GUIO_NOMIDI));
- games.push_back(GameDescriptor(sword1MacFullSettings, Common::GUIO_NOMIDI));
- games.push_back(GameDescriptor(sword1MacDemoSettings, Common::GUIO_NOMIDI));
- games.push_back(GameDescriptor(sword1PSXSettings, Common::GUIO_NOMIDI));
- games.push_back(GameDescriptor(sword1PSXDemoSettings, Common::GUIO_NOMIDI));
+ games.push_back(GameDescriptor(sword1FullSettings, GUIO_NOMIDI));
+ games.push_back(GameDescriptor(sword1DemoSettings, GUIO_NOMIDI));
+ games.push_back(GameDescriptor(sword1MacFullSettings, GUIO_NOMIDI));
+ games.push_back(GameDescriptor(sword1MacDemoSettings, GUIO_NOMIDI));
+ games.push_back(GameDescriptor(sword1PSXSettings, GUIO_NOMIDI));
+ games.push_back(GameDescriptor(sword1PSXDemoSettings, GUIO_NOMIDI));
return games;
}
@@ -198,17 +198,17 @@ GameList SwordMetaEngine::detectGames(const Common::FSList &fslist) const {
psxDemoFilesFound = false;
if (mainFilesFound && pcFilesFound && demoFilesFound)
- detectedGames.push_back(GameDescriptor(sword1DemoSettings, Common::GUIO_NOMIDI));
+ detectedGames.push_back(GameDescriptor(sword1DemoSettings, GUIO1(GUIO_NOMIDI)));
else if (mainFilesFound && pcFilesFound && psxFilesFound)
- detectedGames.push_back(GameDescriptor(sword1PSXSettings, Common::GUIO_NOMIDI));
+ detectedGames.push_back(GameDescriptor(sword1PSXSettings, GUIO1(GUIO_NOMIDI)));
else if (mainFilesFound && pcFilesFound && psxDemoFilesFound)
- detectedGames.push_back(GameDescriptor(sword1PSXDemoSettings, Common::GUIO_NOMIDI));
+ detectedGames.push_back(GameDescriptor(sword1PSXDemoSettings, GUIO1(GUIO_NOMIDI)));
else if (mainFilesFound && pcFilesFound && !psxFilesFound)
- detectedGames.push_back(GameDescriptor(sword1FullSettings, Common::GUIO_NOMIDI));
+ detectedGames.push_back(GameDescriptor(sword1FullSettings, GUIO1(GUIO_NOMIDI)));
else if (mainFilesFound && macFilesFound)
- detectedGames.push_back(GameDescriptor(sword1MacFullSettings, Common::GUIO_NOMIDI));
+ detectedGames.push_back(GameDescriptor(sword1MacFullSettings, GUIO1(GUIO_NOMIDI)));
else if (mainFilesFound && macDemoFilesFound)
- detectedGames.push_back(GameDescriptor(sword1MacDemoSettings, Common::GUIO_NOMIDI));
+ detectedGames.push_back(GameDescriptor(sword1MacDemoSettings, GUIO1(GUIO_NOMIDI)));
return detectedGames;
}