aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/music.cpp
diff options
context:
space:
mode:
authorMax Horn2010-01-31 02:11:41 +0000
committerMax Horn2010-01-31 02:11:41 +0000
commit21e1cc4cf8b79a9f59e911514c52831113356f7c (patch)
tree492c457f3469acd863e7623bc2fa4a410458f706 /engines/tinsel/music.cpp
parent7f4aa161bcb0f989fe2b343909fd855679901d3e (diff)
downloadscummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.tar.gz
scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.tar.bz2
scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.zip
Switch makeADPCMStream to DisposeAfterUse::Flag
svn-id: r47736
Diffstat (limited to 'engines/tinsel/music.cpp')
-rw-r--r--engines/tinsel/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/music.cpp b/engines/tinsel/music.cpp
index f30eabe267..7763058963 100644
--- a/engines/tinsel/music.cpp
+++ b/engines/tinsel/music.cpp
@@ -877,7 +877,7 @@ bool PCMMusicPlayer::getNextChunk() {
sampleStream = new Common::MemoryReadStream(buffer, sampleCLength, DisposeAfterUse::YES);
delete _curChunk;
- _curChunk = makeADPCMStream(sampleStream, true, sampleCLength,
+ _curChunk = makeADPCMStream(sampleStream, DisposeAfterUse::YES, sampleCLength,
Audio::kADPCMTinsel8, 22050, 1, 32);
_state = S_MID;