ALL: add support for -m -s -r commands
This commit is contained in:
parent
b7f6964fb4
commit
5fc5353ecc
2 changed files with 18 additions and 3 deletions
|
@ -1851,6 +1851,15 @@ bool processSettings(Common::String &command, Common::StringMap &settings, Commo
|
|||
if (settings.contains("render-mode")) {
|
||||
ConfMan.set("render_mode", settings["render-mode"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("music-volume")) {
|
||||
ConfMan.set("music_volume", settings["music-volume"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("sfx-volume")) {
|
||||
ConfMan.set("sfx_volume", settings["sfx-volume"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("speech-volume")) {
|
||||
ConfMan.set("speech_volume", settings["speech-volume"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
|
||||
|
||||
// Finally, store the command line settings into the config manager.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue