aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index cd6fcfde38..cb12bce8b4 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -666,7 +666,7 @@ int SimonEngine::init(GameDetector &detector) {
warning("Sound initialization failed. "
"Features of the game that depend on sound synchronization will most likely break");
set_volume(ConfMan.getInt("sfx_volume"));
- _mixer->setVolumeForSoundType(SoundMixer::kMusicAudioDataType, ConfMan.getInt("music_volume"));
+ _mixer->setVolumeForSoundType(SoundMixer::kMusicSoundType, ConfMan.getInt("music_volume"));
_system->beginGFXTransaction();
initCommonGFX(detector);
@@ -4226,7 +4226,7 @@ void SimonEngine::dx_unlock_attached() {
}
void SimonEngine::set_volume(int volume) {
- _mixer->setVolumeForSoundType(SoundMixer::kSFXAudioDataType, volume);
+ _mixer->setVolumeForSoundType(SoundMixer::kSFXSoundType, volume);
}
byte SimonEngine::getByte() {