Scumm sound settings can now be changed from the gmm

svn-id: r32851
This commit is contained in:
Christopher Page 2008-06-30 17:44:21 +00:00
parent e36166bda2
commit 30c52e215c
4 changed files with 6 additions and 6 deletions

View file

@ -1108,7 +1108,7 @@ int ScummEngine::init() {
if (_game.version >= 5 && _game.version <= 7)
_sound->setupSound();
updateSoundSettings();
syncSoundSettings();
return 0;
}
@ -1667,7 +1667,7 @@ void ScummEngine::setupMusic(int midi) {
}
}
void ScummEngine::updateSoundSettings() {
void ScummEngine::syncSoundSettings() {
// Sync the engine with the config manager
int soundVolumeMusic = ConfMan.getInt("music_volume");
@ -2309,7 +2309,7 @@ void ScummEngine::mainMenuDialog() {
if (!_mainMenuDialog)
_mainMenuDialog = new MainMenuDialog(this);
runDialog(*_mainMenuDialog);
updateSoundSettings();
syncSoundSettings();
}
void ScummEngine::confirmExitDialog() {