BASE: Upgrade fullpipe engineid to ngi
Making it hardcoded because: * This is the only place where it could happen * It is the second time in history of ScummVM when we renamed and engine (the first one was Simon -> AGOS) Thus, there is a little sense in creating a universal solution.
This commit is contained in:
parent
7c5e1c01ed
commit
9590eed4b4
1 changed files with 8 additions and 0 deletions
|
@ -836,6 +836,14 @@ void EngineManager::upgradeTargetIfNecessary(const Common::String &target) const
|
|||
|
||||
if (!domain->contains("engineid")) {
|
||||
upgradeTargetForEngineId(target);
|
||||
} else {
|
||||
if (domain->getVal("engineid").equals("fullpipe")) {
|
||||
domain->setVal("engineid", "ngi");
|
||||
|
||||
debug("Upgrading engineid from 'fullpipe' to 'ngi'");
|
||||
|
||||
ConfMan.flushToDisk();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue