aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2013-11-02 18:28:58 -0400
committerPaul Gilbert2013-11-02 18:28:58 -0400
commit9cb4deda18f1d7f9e638cf52fef44d303a2cc6e6 (patch)
tree61fc80f5a812caed7b59806367a74d8d4a15f40a
parent7bdd047f6a71be642f52dcb0dd99ed905d7ee5bb (diff)
downloadscummvm-rg350-9cb4deda18f1d7f9e638cf52fef44d303a2cc6e6.tar.gz
scummvm-rg350-9cb4deda18f1d7f9e638cf52fef44d303a2cc6e6.tar.bz2
scummvm-rg350-9cb4deda18f1d7f9e638cf52fef44d303a2cc6e6.zip
TSAGE: Bugfix to get rid of pops at the start of sound effects
-rw-r--r--engines/tsage/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 195ba5ca03..db694e9491 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -3103,7 +3103,7 @@ void SoundBlasterDriver::playSound(const byte *channelData, int dataOffset, int
updateVoice(channel);
// Set the new channel data
- _channelData = channelData + dataOffset;
+ _channelData = channelData + dataOffset + 18;
// Make a copy of the buffer
int dataSize = g_vm->_memoryManager.getSize(channelData);