mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ALL: add support for gfx, stretch and render mode
This commit is contained in:
committed by
Eugene Sandulenko
parent
a7ed28e8a7
commit
b7f6964fb4
@@ -1842,6 +1842,15 @@ bool processSettings(Common::String &command, Common::StringMap &settings, Commo
|
||||
if (settings.contains("gui-theme")) {
|
||||
ConfMan.set("gui_theme", settings["gui-theme"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("gfx-mode")) {
|
||||
ConfMan.set("gfx_mode", settings["gfx-mode"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("stretch-mode")) {
|
||||
ConfMan.set("stretch_mode", settings["stretch-mode"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
if (settings.contains("render-mode")) {
|
||||
ConfMan.set("render_mode", settings["render-mode"], Common::ConfigManager::kSessionDomain);
|
||||
}
|
||||
|
||||
|
||||
// Finally, store the command line settings into the config manager.
|
||||
|
||||
Reference in New Issue
Block a user