mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
make savepath settings persistent
svn-id: r11158
This commit is contained in:
parent
a576d6641e
commit
29d79d8197
@ -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 {
|
||||
|
@ -329,7 +329,8 @@ void GlobalOptionsDialog::open() {
|
||||
|
||||
void GlobalOptionsDialog::close() {
|
||||
if (getResult()) {
|
||||
// TODO: Savepath
|
||||
// Savepath
|
||||
ConfMan.set("savepath", _savePath->getLabel(), _domain);
|
||||
}
|
||||
OptionsDialog::close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user