diff options
author | Max Horn | 2009-10-14 23:29:14 +0000 |
---|---|---|
committer | Max Horn | 2009-10-14 23:29:14 +0000 |
commit | edf682791365e15fdbec1587ecde012c53fce6f6 (patch) | |
tree | cb8bd10371dcf6bfc2820bca8f06585494aaf2dc /engines/sword1 | |
parent | 3dc7c0a732ea5fa5ec3aa74406f242c211fd04b4 (diff) | |
download | scummvm-rg350-edf682791365e15fdbec1587ecde012c53fce6f6.tar.gz scummvm-rg350-edf682791365e15fdbec1587ecde012c53fce6f6.tar.bz2 scummvm-rg350-edf682791365e15fdbec1587ecde012c53fce6f6.zip |
SWORD1: Remove obsolete TODO
svn-id: r45100
Diffstat (limited to 'engines/sword1')
-rw-r--r-- | engines/sword1/sound.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp index 69db0ca40f..1aee713370 100644 --- a/engines/sword1/sound.cpp +++ b/engines/sword1/sound.cpp @@ -416,16 +416,9 @@ int16 *Sound::uncompressSpeech(uint32 index, uint32 cSize, uint32 *size) { _cowFile.read(fBuf, cSize); uint32 headerPos = 0; - // TODO: use loadWAVFromStream to load the WAVE data! - /* - int rate, size; - bye flags; - Common::MemoryReadStream stream(fBuf, cSize); - isValidWAV = loadWAVFromStream(stream, size, rate, flags); - */ - while ((READ_BE_UINT32(fBuf + headerPos) != 'data') && (headerPos < 100)) headerPos++; + if (headerPos < 100) { int32 resSize; int16 *srcData; |