aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-07-30 18:28:59 +0530
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commitd93c6ec72466e27ffa390c0f6f3933d2ed6640b1 (patch)
tree146a991448ee06c0ef69c0cbbf7d7f5ff0e1de1a /engines/hdb
parent517a261fbf7f8692396048a9b18f9bb0840dfa1b (diff)
downloadscummvm-rg350-d93c6ec72466e27ffa390c0f6f3933d2ed6640b1.tar.gz
scummvm-rg350-d93c6ec72466e27ffa390c0f6f3933d2ed6640b1.tar.bz2
scummvm-rg350-d93c6ec72466e27ffa390c0f6f3933d2ed6640b1.zip
HDB: Set Music and Voice to DisposeAfterUse::YES
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp
index 2602a07687..e31fb6ad9e 100644
--- a/engines/hdb/sound.cpp
+++ b/engines/hdb/sound.cpp
@@ -1624,7 +1624,7 @@ bool Sound::playVoice(int index, int actor) {
-1,
Audio::Mixer::kMaxChannelVolume,
0,
- DisposeAfterUse::NO,
+ DisposeAfterUse::YES,
false,
false
);
@@ -1729,7 +1729,7 @@ bool Sound::beginMusic(SoundType song, bool fadeIn, int ramp) {
-1,
Audio::Mixer::kMaxChannelVolume,
0,
- DisposeAfterUse::NO,
+ DisposeAfterUse::YES,
false,
false
);
@@ -1769,7 +1769,7 @@ bool Sound::beginMusic(SoundType song, bool fadeIn, int ramp) {
-1,
Audio::Mixer::kMaxChannelVolume,
0,
- DisposeAfterUse::NO,
+ DisposeAfterUse::YES,
false,
false
);