aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2009-10-14 23:29:14 +0000
committerMax Horn2009-10-14 23:29:14 +0000
commitedf682791365e15fdbec1587ecde012c53fce6f6 (patch)
treecb8bd10371dcf6bfc2820bca8f06585494aaf2dc /engines
parent3dc7c0a732ea5fa5ec3aa74406f242c211fd04b4 (diff)
downloadscummvm-rg350-edf682791365e15fdbec1587ecde012c53fce6f6.tar.gz
scummvm-rg350-edf682791365e15fdbec1587ecde012c53fce6f6.tar.bz2
scummvm-rg350-edf682791365e15fdbec1587ecde012c53fce6f6.zip
SWORD1: Remove obsolete TODO
svn-id: r45100
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/sound.cpp9
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;