make savepath settings persistent

svn-id: r11158
This commit is contained in:
Max Horn 2003-11-05 22:06:07 +00:00
parent a576d6641e
commit 29d79d8197
2 changed files with 2 additions and 5 deletions

View File

@ -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 {

View File

@ -329,7 +329,8 @@ void GlobalOptionsDialog::open() {
void GlobalOptionsDialog::close() {
if (getResult()) {
// TODO: Savepath
// Savepath
ConfMan.set("savepath", _savePath->getLabel(), _domain);
}
OptionsDialog::close();
}