diff options
Diffstat (limited to 'engines/saga/sndres.cpp')
-rw-r--r-- | engines/saga/sndres.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index be65312963..4532e2d23a 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -306,7 +306,7 @@ bool SndRes::load(ResourceContext *context, uint32 resourceId, SoundBuffer &buff case kSoundVOX: buffer.size = soundResourceLength * 4; if (!onlyHeader) { - voxStream = Audio::makeADPCMStream(&readS, false, soundResourceLength, Audio::kADPCMOki); + voxStream = Audio::makeADPCMStream(&readS, DisposeAfterUse::NO, soundResourceLength, Audio::kADPCMOki); buffer.buffer = (byte *)malloc(buffer.size); voxStream->readBuffer((int16*)buffer.buffer, soundResourceLength * 2); delete voxStream; |