aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-25 19:10:50 +0000
committerFilippos Karapetis2007-06-25 19:10:50 +0000
commit78addd0d66c6b0623313a9a02a933a0a22c1ff0b (patch)
tree850a3d24029600790e2370c8d4311f4369806762
parent4d7d3d96f587ad29ecb722e3537e3af83b950d01 (diff)
downloadscummvm-rg350-78addd0d66c6b0623313a9a02a933a0a22c1ff0b.tar.gz
scummvm-rg350-78addd0d66c6b0623313a9a02a933a0a22c1ff0b.tar.bz2
scummvm-rg350-78addd0d66c6b0623313a9a02a933a0a22c1ff0b.zip
Put a comment in its correct location
svn-id: r27716
-rw-r--r--engines/saga/sndres.cpp4
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;