aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2003-11-05 22:06:07 +0000
committerMax Horn2003-11-05 22:06:07 +0000
commit29d79d8197c73168187ec7369473c3d59b756b52 (patch)
treef259a3ef78f9a9f1d44630ef108b0e540fec1a51 /gui
parenta576d6641e5bb0d49838c61a2e617722677b1f42 (diff)
downloadscummvm-rg350-29d79d8197c73168187ec7369473c3d59b756b52.tar.gz
scummvm-rg350-29d79d8197c73168187ec7369473c3d59b756b52.tar.bz2
scummvm-rg350-29d79d8197c73168187ec7369473c3d59b756b52.zip
make savepath settings persistent
svn-id: r11158
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp4
-rw-r--r--gui/options.cpp3
2 files changed, 2 insertions, 5 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index adf84729b7..5dc1bfbede 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -59,9 +59,6 @@ enum {
/*
* A dialog that allows the user to edit a config game entry.
* TODO: add widgets for some/all of the following
- * - Amiga/subtitles flag? Although those only make sense for Scumm games, not Simon
- * - The music driver for that game (<Default> or custom)
- * Of course this means we need an API to query the available music drivers.
* - Maybe scaler/graphics mode. But there are two problems:
* 1) Different backends can have different scalers with different names,
* so we first have to add a way to query those... no Ender, I don't
@@ -73,7 +70,6 @@ enum {
* (the SDL backend can already do that based on user input, but there is no API
* to achieve it)
* If the APIs for 1&2 are in place, we can think about adding this to the Edit&Option dialogs
- * - Maybe SFX/Master/Music volumes?
*/
class EditGameDialog : public OptionsDialog {
diff --git a/gui/options.cpp b/gui/options.cpp
index 80e82844bb..1346434050 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -329,7 +329,8 @@ void GlobalOptionsDialog::open() {
void GlobalOptionsDialog::close() {
if (getResult()) {
- // TODO: Savepath
+ // Savepath
+ ConfMan.set("savepath", _savePath->getLabel(), _domain);
}
OptionsDialog::close();
}