diff options
| author | Eugene Sandulenko | 2011-10-23 17:52:43 +0100 |
|---|---|---|
| committer | Eugene Sandulenko | 2011-10-23 17:53:13 +0100 |
| commit | 32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e (patch) | |
| tree | 052e527c673bc82a9f8ebccd4f3bd1a43e46579a /engines/sword1 | |
| parent | 77c65648b1db8f8b7b245510681eafd856798d26 (diff) | |
| download | scummvm-rg350-32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e.tar.gz scummvm-rg350-32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e.tar.bz2 scummvm-rg350-32972a5ffb180c9e8a6a9eae51d0e7564ce76d9e.zip | |
AD: Switched rest of the engines to new GUIO
Diffstat (limited to 'engines/sword1')
| -rw-r--r-- | engines/sword1/detection.cpp | 24 |
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; } |
