diff options
author | Filippos Karapetis | 2008-12-12 22:56:56 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-12 22:56:56 +0000 |
commit | c6947285d244f06901c3e479c873f0b0db9c0bfb (patch) | |
tree | 9980845b8a42c9df1e52425288f6bd080b109f0d | |
parent | 12bf681ee86fe57c6adb188817d382bb76142f08 (diff) | |
download | scummvm-rg350-c6947285d244f06901c3e479c873f0b0db9c0bfb.tar.gz scummvm-rg350-c6947285d244f06901c3e479c873f0b0db9c0bfb.tar.bz2 scummvm-rg350-c6947285d244f06901c3e479c873f0b0db9c0bfb.zip |
Fixed a regression of commit #34458. Sound data for compressed sounds was read incorrectly. Fixes bugs #2422371 - "ITE: Talk animation takes longer than speaking" and #2111496 - "IHNM: Speech is garbled"
svn-id: r35320
-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 29de6f6be1..9742657523 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -376,7 +376,7 @@ bool SndRes::load(ResourceContext *context, uint32 resourceId, SoundBuffer &buff resourceData = context->getResourceData(resourceId); // Read compressed sfx header - readS.seek(1); // Skip compression identifier byte + readS.readByte(); // Skip compression identifier byte buffer.frequency = readS.readUint16LE(); buffer.originalSize = readS.readUint32LE(); buffer.sampleBits = readS.readByte(); |