diff options
Diffstat (limited to 'engines/cryo/sound.cpp')
-rw-r--r-- | engines/cryo/sound.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/cryo/sound.cpp b/engines/cryo/sound.cpp index f3b57de04a..48670912e8 100644 --- a/engines/cryo/sound.cpp +++ b/engines/cryo/sound.cpp @@ -143,7 +143,6 @@ bool SoundGroup::assignDatas(void *buffer, int length, bool isSigned) { Sound *sound = _sounds[_soundIndex];
sound->_buffer = (char *)buffer;
- sound->setLength(length);
sound->_length = length;
// if(sound->reversed && sound->sampleSize == 16)
// ReverseBlock16(buffer, length);
@@ -166,7 +165,6 @@ bool SoundGroup::setDatas(void *data, int length, bool isSigned) { void *buffer = sound->_sndHandle + sound->_headerLen;
sound->_buffer = (char *)buffer;
memcpy(buffer, data, length);
- sound->setLength(length);
sound->_length = length;
// if(sound->reversed && sound->sampleSize == 16)
// ReverseBlock16(buffer, length);
|