From 013f39cb5d7029e9569861034661770d1578847e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 31 Dec 2018 19:47:14 -0800 Subject: GLK: Standardizing on a common GameDescriptor class for detectors --- engines/glk/scott/detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/glk/scott/detection.cpp') diff --git a/engines/glk/scott/detection.cpp b/engines/glk/scott/detection.cpp index c41825140c..f1c4b9aa69 100644 --- a/engines/glk/scott/detection.cpp +++ b/engines/glk/scott/detection.cpp @@ -34,13 +34,13 @@ void ScottMetaEngine::getSupportedGames(PlainGameList &games) { games.push_back(*pd); } -PlainGameDescriptor ScottMetaEngine::findGame(const char *gameId) { +GameDescriptor ScottMetaEngine::findGame(const char *gameId) { for (const PlainGameDescriptor *pd = SCOTT_GAME_LIST; pd->gameId; ++pd) { if (!strcmp(gameId, pd->gameId)) return *pd; } - return PlainGameDescriptor();; + return GameDescriptor::empty(); } bool ScottMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &gameList) { -- cgit v1.2.3