From ae9f764c7ac4fcc418ca7182163f4e9646f4bc31 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 15 Sep 2016 18:43:42 +0200 Subject: ENGINES: Automatically upgrade the targets on launch to add an engine ID --- base/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base/main.cpp') 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) { -- cgit v1.2.3