mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
TINSEL: Write config changes to disk
svn-id: r34212
This commit is contained in:
parent
fb66f42002
commit
be85bf25a5
@ -53,9 +53,8 @@ int bAmerica = 0;
|
||||
bool bNoBlocking;
|
||||
|
||||
/**
|
||||
* WriteConfig()
|
||||
* Write settings to config manager and flush the config file to disk.
|
||||
*/
|
||||
|
||||
void WriteConfig(void) {
|
||||
ConfMan.setInt("dclick_speed", dclickSpeed);
|
||||
ConfMan.setInt("music_volume", (volMidi * Audio::Mixer::kMaxChannelVolume) / MAXMIDIVOL);
|
||||
@ -64,7 +63,6 @@ void WriteConfig(void) {
|
||||
ConfMan.setInt("talkspeed", (speedText * 255) / 100);
|
||||
ConfMan.setBool("subtitles", bSubtitles);
|
||||
//ConfMan.setBool("swap_buttons", bSwapButtons ? 1 : 0);
|
||||
//ConfigData.language = language; // not necessary, as language has been set in the launcher
|
||||
//ConfigData.bAmerica = bAmerica; // EN_USA / EN_GRB
|
||||
|
||||
// Store language for multilingual versions
|
||||
|
@ -2971,6 +2971,9 @@ void KillInventory(void) {
|
||||
if (bOpenConf) {
|
||||
bOpenConf = false;
|
||||
PopUpConf(OPTION);
|
||||
|
||||
// Write config changes
|
||||
WriteConfig();
|
||||
} else if (ino == INV_CONF)
|
||||
InventoryIconCursor();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user