From 24a512cab08a12eb2b8f3b759d7f3d82c6853a21 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 6 Jun 2009 19:47:55 +0000 Subject: Use GameDescriptor::setGUIOptions instead of setting key "guioptions" directly. svn-id: r41297 --- engines/scumm/detection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index 901bb31e31..cf88ded3b8 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -765,8 +765,7 @@ GameList ScummMetaEngine::detectGames(const Common::FSList &fslist) const { dg["preferredtarget"] = res; - if (x->game.guioptions != 0) - dg["guioptions"] = Common::getGameGUIOptionsDescription(x->game.guioptions); + dg.setGUIOptions(x->game.guioptions); detectedGames.push_back(dg); } -- cgit v1.2.3