aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/detection.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index d8cf4556d7..2d260a9908 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -662,13 +662,7 @@ static bool testGame(const GameSettings *g, const DescMap &fileMD5Map, const Com
using namespace Scumm;
GameList Engine_SCUMM_gameIDList() {
- const PlainGameDescriptor *g = gameDescriptions;
- GameList games;
- while (g->gameid) {
- games.push_back(GameDescriptor(g->gameid, g->description));
- g++;
- }
- return games;
+ return GameList(gameDescriptions);
}
GameDescriptor Engine_SCUMM_findGameID(const char *gameid) {