diff options
author | Bastien Bouclet | 2016-09-15 18:39:45 +0200 |
---|---|---|
committer | Bastien Bouclet | 2019-11-03 11:43:00 +0100 |
commit | bb813719b56a3e2a51b7c73385d036f61fdde584 (patch) | |
tree | 098d51552ed8a5afde854cd8ed00a5f3d7ddc87e /gui/recorderdialog.cpp | |
parent | 9c8bd056d6d597a10f7f653b559dc34cd2bd2be9 (diff) | |
download | scummvm-rg350-bb813719b56a3e2a51b7c73385d036f61fdde584.tar.gz scummvm-rg350-bb813719b56a3e2a51b7c73385d036f61fdde584.tar.bz2 scummvm-rg350-bb813719b56a3e2a51b7c73385d036f61fdde584.zip |
ENGINES: Change targets to have an 'engine ID'
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.
Also-By: Matthew Hoops <clone2727@gmail.com>
Diffstat (limited to 'gui/recorderdialog.cpp')
-rw-r--r-- | gui/recorderdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/recorderdialog.cpp b/gui/recorderdialog.cpp index 7a2cd048f4..ced5bcbc5b 100644 --- a/gui/recorderdialog.cpp +++ b/gui/recorderdialog.cpp @@ -166,8 +166,7 @@ void RecorderDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat break; case kRecordCmd: { TimeDate t; - Common::String gameId = ConfMan.get("gameid", _target); - PlainGameDescriptor desc = EngineMan.findGame(gameId); + PlainGameDescriptor desc = EngineMan.findTarget(_target); g_system->getTimeAndDate(t); EditRecordDialog editDlg(_("Unknown Author"), Common::String::format("%.2d.%.2d.%.4d ", t.tm_mday, t.tm_mon, 1900 + t.tm_year) + desc.description, ""); if (editDlg.runModal() != kOKCmd) { |