From 29d79d8197c73168187ec7369473c3d59b756b52 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 5 Nov 2003 22:06:07 +0000 Subject: make savepath settings persistent svn-id: r11158 --- gui/launcher.cpp | 4 ---- gui/options.cpp | 3 ++- 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 ( 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(); } -- cgit v1.2.3