diff options
author | Filippos Karapetis | 2007-06-25 19:10:50 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-25 19:10:50 +0000 |
commit | 78addd0d66c6b0623313a9a02a933a0a22c1ff0b (patch) | |
tree | 850a3d24029600790e2370c8d4311f4369806762 /engines/saga/sndres.cpp | |
parent | 4d7d3d96f587ad29ecb722e3537e3af83b950d01 (diff) | |
download | scummvm-rg350-78addd0d66c6b0623313a9a02a933a0a22c1ff0b.tar.gz scummvm-rg350-78addd0d66c6b0623313a9a02a933a0a22c1ff0b.tar.bz2 scummvm-rg350-78addd0d66c6b0623313a9a02a933a0a22c1ff0b.zip |
Put a comment in its correct location
svn-id: r27716
Diffstat (limited to 'engines/saga/sndres.cpp')
-rw-r--r-- | engines/saga/sndres.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index 39dd9b5c06..9cf1770d43 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -177,11 +177,11 @@ bool SndRes::load(ResourceContext *context, uint32 resourceId, SoundBuffer &buff } else if (!memcmp(soundResource, "RIFF", 4) != 0) { resourceType = kSoundWAV; } else if (soundResource[0] == char(0)) { - readS.seek(1); + readS.seek(1); // Skip compression identifier byte uint16 test = readS.readUint16LE(); // the frequency // the sound's frequency is not supposed to be 0, if it is then it's an empty sound, // so don't treat it as MP3 - if (test > 0) // Skip compression identifier byte + if (test > 0) resourceType = kSoundMP3; } else if (soundResource[0] == char(1)) { resourceType = kSoundOGG; |