diff options
author | Johannes Schickel | 2008-11-09 12:07:20 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-11-09 12:07:20 +0000 |
commit | f2174f57511ae3c50a7e87cf063ae7e8174a583b (patch) | |
tree | 6ec1641df06006d7f3477bca403666a0f9f303c3 /engines | |
parent | 18414f0a0af7a2dabb6ad4d56573d4f00d9c2af3 (diff) | |
download | scummvm-rg350-f2174f57511ae3c50a7e87cf063ae7e8174a583b.tar.gz scummvm-rg350-f2174f57511ae3c50a7e87cf063ae7e8174a583b.tar.bz2 scummvm-rg350-f2174f57511ae3c50a7e87cf063ae7e8174a583b.zip |
Implemented Engine::syncSoundSettings properly for MIDI output.
svn-id: r34948
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/kyra_v1.cpp | 7 | ||||
-rw-r--r-- | engines/kyra/kyra_v1.h | 2 |
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; |