aboutsummaryrefslogtreecommitdiff
path: root/gui/editgamedialog.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2016-09-15 18:43:42 +0200
committerBastien Bouclet2019-11-03 11:43:00 +0100
commitae9f764c7ac4fcc418ca7182163f4e9646f4bc31 (patch)
tree42ee832807541746925bf13a6889068bac5df248 /gui/editgamedialog.cpp
parentbb813719b56a3e2a51b7c73385d036f61fdde584 (diff)
downloadscummvm-rg350-ae9f764c7ac4fcc418ca7182163f4e9646f4bc31.tar.gz
scummvm-rg350-ae9f764c7ac4fcc418ca7182163f4e9646f4bc31.tar.bz2
scummvm-rg350-ae9f764c7ac4fcc418ca7182163f4e9646f4bc31.zip
ENGINES: Automatically upgrade the targets on launch to add an engine ID
Diffstat (limited to 'gui/editgamedialog.cpp')
-rw-r--r--gui/editgamedialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/editgamedialog.cpp b/gui/editgamedialog.cpp
index ac030d7678..4f3c1647a1 100644
--- a/gui/editgamedialog.cpp
+++ b/gui/editgamedialog.cpp
@@ -100,6 +100,8 @@ protected:
EditGameDialog::EditGameDialog(const String &domain)
: OptionsDialog(domain, "GameOptions") {
+ EngineMan.upgradeTargetIfNecessary(domain);
+
// Retrieve all game specific options.
const Plugin *plugin = nullptr;
// To allow for game domains without a gameid.