diff options
author | Johannes Schickel | 2010-01-25 01:39:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-25 01:39:44 +0000 |
commit | aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 (patch) | |
tree | 95f119e687a666f65aad5041910c43bdfd4f2929 /engines/scumm/sound.cpp | |
parent | ec14cd6e6add76ce4f719edd7ce508d67ebd9f14 (diff) | |
download | scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.gz scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.bz2 scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.zip |
Strip trailing spaces/tabs.
svn-id: r47541
Diffstat (limited to 'engines/scumm/sound.cpp')
-rw-r--r-- | engines/scumm/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index 6004ac62b3..6760072ed7 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -424,7 +424,7 @@ void Sound::playSound(int soundID) { size = READ_BE_UINT16(ptr + 12); assert(size); - + rate = 3579545 / READ_BE_UINT16(ptr + 20); sound = (byte *)malloc(size); int vol = ptr[24] * 4; @@ -2113,7 +2113,7 @@ int ScummEngine::readSoundResourceSmallHeader(int idx) { if (_game.features & GF_OLD_BUNDLE) { _fileHandle->seek(wa_offs + wa_size + 6, SEEK_SET); byte musType = _fileHandle->readByte(); - + if (musType == 0x80) { _fileHandle->seek(ad_offs, SEEK_SET); _fileHandle->read(_res->createResource(rtSound, idx, ad_size), ad_size); |