diff options
author | Bastien Bouclet | 2016-09-15 18:43:42 +0200 |
---|---|---|
committer | Bastien Bouclet | 2019-11-03 11:43:00 +0100 |
commit | ae9f764c7ac4fcc418ca7182163f4e9646f4bc31 (patch) | |
tree | 42ee832807541746925bf13a6889068bac5df248 /base/main.cpp | |
parent | bb813719b56a3e2a51b7c73385d036f61fdde584 (diff) | |
download | scummvm-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 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 45c8e393b7..85fdbb2986 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -545,6 +545,8 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { while (0 != ConfMan.getActiveDomain()) { saveLastLaunchedTarget(ConfMan.getActiveDomainName()); + EngineMan.upgradeTargetIfNecessary(ConfMan.getActiveDomainName()); + // Try to find a plugin which feels responsible for the specified game. const Plugin *plugin = detectPlugin(); if (plugin) { |