aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Page2008-08-16 22:30:19 +0000
committerChristopher Page2008-08-16 22:30:19 +0000
commit370cc6615e5700c31c7b9dae49e19b0573cdee62 (patch)
tree28ae46506150c375c89a49553ccfbe1bcc5f7691
parent58166351c6420ce1f6f0b7daac4b0ee6f1e43390 (diff)
downloadscummvm-rg350-370cc6615e5700c31c7b9dae49e19b0573cdee62.tar.gz
scummvm-rg350-370cc6615e5700c31c7b9dae49e19b0573cdee62.tar.bz2
scummvm-rg350-370cc6615e5700c31c7b9dae49e19b0573cdee62.zip
Fixed volume change after loading a game in Saga
svn-id: r33952
-rw-r--r--engines/saga/interface.cpp2
-rw-r--r--engines/saga/saga.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 4a4573ccef..2112f5ee98 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1153,6 +1153,7 @@ void Interface::setLoad(PanelButton *panelButton) {
debug(1, "Loading save game %d", _vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber);
setMode(kPanelMain);
_vm->load(_vm->calcSaveFileName(_vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber));
+ _vm->syncSoundSettings();
}
}
}
@@ -1616,6 +1617,7 @@ void Interface::setOption(PanelButton *panelButton) {
debug(1, "Loading save game %d", _vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber);
setMode(kPanelMain);
_vm->load(_vm->calcSaveFileName(_vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber));
+ _vm->syncSoundSettings();
}
}
} else {
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 47228ae68a..a2dbeebda2 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -255,6 +255,7 @@ int SagaEngine::go() {
char *fileName;
fileName = calcSaveFileName(ConfMan.getInt("save_slot"));
load(fileName);
+ syncSoundSettings();
} else {
_framesEsc = 0;
_scene->startScene();