diff options
Diffstat (limited to 'engines/gob/sound.cpp')
-rw-r--r-- | engines/gob/sound.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/gob/sound.cpp b/engines/gob/sound.cpp index d9c9b10627..8494e1da07 100644 --- a/engines/gob/sound.cpp +++ b/engines/gob/sound.cpp @@ -67,12 +67,10 @@ void SoundDesc::free() { _id = 0; } -void SoundDesc::flip() { - if ((_type == SOUND_SND) && _data && _dataPtr) { - _frequency = -_frequency; +void SoundDesc::convToSigned() { + if ((_type == SOUND_SND) && _data && _dataPtr) for (uint32 i = 0; i < _size; i++) _dataPtr[i] ^= 0x80; - } } void SoundDesc::loadSND(byte *data, uint32 dSize) { |