GUI: Store the shader name in the config file instead of the ID
This commit is contained in:
parent
7488e17c0a
commit
f2db412ba5
12 changed files with 97 additions and 19 deletions
|
@ -222,7 +222,7 @@ void registerDefaults() {
|
|||
ConfMan.registerDefault("render_mode", "default");
|
||||
ConfMan.registerDefault("desired_screen_aspect_ratio", "auto");
|
||||
ConfMan.registerDefault("stretch_mode", "default");
|
||||
ConfMan.registerDefault("shader", 0);
|
||||
ConfMan.registerDefault("shader", "default");
|
||||
|
||||
// Sound & Music
|
||||
ConfMan.registerDefault("music_volume", 192);
|
||||
|
@ -591,6 +591,9 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
|
|||
DO_LONG_OPTION("stretch-mode")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION("shader")
|
||||
END_OPTION
|
||||
|
||||
DO_OPTION_INT('m', "music-volume")
|
||||
END_OPTION
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue