diff options
author | Torbjörn Andersson | 2003-10-31 07:43:26 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-10-31 07:43:26 +0000 |
commit | 6011bd6cdc0d073b2dd5ef99dc89ce7e50f2a983 (patch) | |
tree | 1ce4765089b8301a9604900f2533da15638434b0 | |
parent | 295e9c6ff9073801a26511a503a5527b7525ba43 (diff) | |
download | scummvm-rg350-6011bd6cdc0d073b2dd5ef99dc89ce7e50f2a983.tar.gz scummvm-rg350-6011bd6cdc0d073b2dd5ef99dc89ce7e50f2a983.tar.bz2 scummvm-rg350-6011bd6cdc0d073b2dd5ef99dc89ce7e50f2a983.zip |
Save the config file when options are changed.
svn-id: r11014
-rw-r--r-- | sword2/controls.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp index a7d46380d3..0d080010b8 100644 --- a/sword2/controls.cpp +++ b/sword2/controls.cpp @@ -1395,6 +1395,8 @@ void Gui::writeOptionSettings(void) { ConfMan.set("nosubtitles", !gui._subtitles); ConfMan.set("object_labels", gui._pointerTextSelected); ConfMan.set("reverse_stereo", gui._stereoReversed); + + ConfMan.flushToDisk(); } uint32 Gui::restoreControl(void) { |