aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-31 22:25:35 +0100
committerMartin Kiewitz2016-01-31 22:25:35 +0100
commitf2fb921f8419a323147b526bee9cc9a7425935e3 (patch)
tree850963c7f5b23b2d222b058985a208e49879aadc /engines/agi/agi.cpp
parenta9b25b53d7a7084941553166abd20a602e83e184 (diff)
downloadscummvm-rg350-f2fb921f8419a323147b526bee9cc9a7425935e3.tar.gz
scummvm-rg350-f2fb921f8419a323147b526bee9cc9a7425935e3.tar.bz2
scummvm-rg350-f2fb921f8419a323147b526bee9cc9a7425935e3.zip
AGI: vol system setting gets sent to scripts
Volume changes in ScummVM system menu now gets sent to scripts as well.
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r--engines/agi/agi.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 9c66c38487..34a81b5ec5 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -564,6 +564,12 @@ Common::Error AgiEngine::go() {
return Common::kNoError;
}
+void AgiEngine::syncSoundSettings() {
+ Engine::syncSoundSettings();
+
+ setVolumeViaSystemSetting();
+}
+
// Scenes that need this:
//
// Manhunter 1: