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/saveload.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/saveload.cpp')
-rw-r--r-- | gui/saveload.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gui/saveload.cpp b/gui/saveload.cpp index 6de8be97d8..4e2525a7c6 100644 --- a/gui/saveload.cpp +++ b/gui/saveload.cpp @@ -76,11 +76,7 @@ Common::String SaveLoadChooser::createDefaultSaveDescription(const int slot) con } int SaveLoadChooser::runModalWithCurrentTarget() { - const Common::String gameId = ConfMan.get("gameid"); - - const Plugin *plugin = 0; - EngineMan.findGame(gameId, &plugin); - + const Plugin *plugin = EngineMan.findPlugin(ConfMan.get("engineid")); return runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName()); } |