ALL: add support for --opl-driver and --talkspeed
This commit is contained in:
parent
358bec9967
commit
7f1eafcb2f
2 changed files with 25 additions and 6 deletions
|
@ -1887,6 +1887,13 @@ bool processSettings(Common::String &command, Common::StringMap &settings, Commo
|
|||
if (settings.contains("scale-factor")) {
|
||||
ConfMan.set("scale_factor", settings["scale-factor"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("opl-driver")) {
|
||||
ConfMan.set("opl_driver", settings["opl-driver"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("talkspeed")) {
|
||||
ConfMan.set("talkspeed", settings["talkspeed"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
|
||||
// Finally, store the command line settings into the config manager.
|
||||
for (Common::StringMap::const_iterator x = settings.begin(); x != settings.end(); ++x) {
|
||||
Common::String key(x->_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue