mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 15:41:41 +00:00
Made Engine_SCUMM_gameIDList use the convenient GameList(PlainGameDescriptor *) constructor
svn-id: r27427
This commit is contained in:
parent
a0983ff7bb
commit
fdafdbbe9c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user