diff options
author | Paweł Kołodziejski | 2003-01-18 14:58:37 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-01-18 14:58:37 +0000 |
commit | 532aeaa435103933126310efafdc892a436a37ab (patch) | |
tree | 66a9e5e46e6d51cd5d30412e4d0054ba44143426 /scumm/smush | |
parent | d591eb77f7f9dea14c56f0e28a9f7adda8550877 (diff) | |
download | scummvm-rg350-532aeaa435103933126310efafdc892a436a37ab.tar.gz scummvm-rg350-532aeaa435103933126310efafdc892a436a37ab.tar.bz2 scummvm-rg350-532aeaa435103933126310efafdc892a436a37ab.zip |
fix smush audio loop
svn-id: r6497
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/player.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/smush/player.cpp b/scumm/smush/player.cpp index a03b6f9354..0a904769f7 100644 --- a/scumm/smush/player.cpp +++ b/scumm/smush/player.cpp @@ -386,17 +386,19 @@ void SmushPlayer::handleImuseAction8(Chunk & b, int32 flags, int32 unknown, int3 *(byte*)(_IACToutput + 1) = *(byte*)d_src++; _IACTrest = 2; bsize--; + continue; } bsize = 0; *(byte*)(_IACToutput + 0) = *(byte*)d_src; _IACTrest = 1; + continue; } else if (_IACTrest == 0) { *(byte*)(_IACToutput + 0) = *(byte*)d_src++; bsize--; - *(byte*)(_IACToutput + 1) = *(byte*)d_src++; - _IACTrest = 2; - bsize--; } + *(byte*)(_IACToutput + 1) = *(byte*)d_src++; + _IACTrest = 2; + bsize--; } } while (bsize != 0); |