aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/shorten.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/shorten.cpp')
-rw-r--r--engines/saga/shorten.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/shorten.cpp b/engines/saga/shorten.cpp
index 17f52fe924..2137423a5a 100644
--- a/engines/saga/shorten.cpp
+++ b/engines/saga/shorten.cpp
@@ -522,7 +522,7 @@ Audio::AudioStream *makeShortenStream(Common::SeekableReadStream &stream) {
return 0;
// Since we allocated our own buffer for the data, we must specify DisposeAfterUse::YES.
- return Audio::makeRawMemoryStream(data, size, rate, flags);
+ return Audio::makeRawStream(data, size, rate, flags);
}
} // End of namespace Audio