aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/kyra_v1.cpp7
-rw-r--r--engines/kyra/kyra_v1.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index 11a303c27a..0e981a50d0 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -392,5 +392,12 @@ uint8 KyraEngine_v1::getVolume(kVolumeEntry vol) {
return 2;
}
+void KyraEngine_v1::syncSoundSettings() {
+ Engine::syncSoundSettings();
+
+ if (_sound)
+ _sound->updateVolumeSettings();
+}
+
} // End of namespace Kyra
diff --git a/engines/kyra/kyra_v1.h b/engines/kyra/kyra_v1.h
index f85ddade50..6711b1f19f 100644
--- a/engines/kyra/kyra_v1.h
+++ b/engines/kyra/kyra_v1.h
@@ -148,6 +148,8 @@ public:
void setVolume(kVolumeEntry vol, uint8 value);
uint8 getVolume(kVolumeEntry vol);
+ virtual void syncSoundSettings();
+
// game flag handling
int setGameFlag(int flag);
int queryGameFlag(int flag) const;