diff options
author | Max Horn | 2002-08-18 18:50:06 +0000 |
---|---|---|
committer | Max Horn | 2002-08-18 18:50:06 +0000 |
commit | be10c0eb9cbcc4e86648c22bd944da76d401b0a4 (patch) | |
tree | 20daa1e3904b1b93178710b0ed79a377bea56ba0 | |
parent | 404b8fd8271fe8f90d98bc3c88b4dfeb1db3249e (diff) | |
download | scummvm-rg350-be10c0eb9cbcc4e86648c22bd944da76d401b0a4.tar.gz scummvm-rg350-be10c0eb9cbcc4e86648c22bd944da76d401b0a4.tar.bz2 scummvm-rg350-be10c0eb9cbcc4e86648c22bd944da76d401b0a4.zip |
fix for bug #596743, from patch #596801
svn-id: r4762
-rw-r--r-- | insane.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/insane.cpp b/insane.cpp index 1190e9d14c..f08dc337a6 100644 --- a/insane.cpp +++ b/insane.cpp @@ -825,6 +825,7 @@ void SmushPlayer::codec37Proc4(byte *dst, byte *src, int32 next_offs, int32 bw, void SmushPlayer::codec37Proc5(int32 game, byte *dst, byte *src, int32 next_offs, int32 bw, int32 bh, + int32 pitch, int16 *table) { byte code, *tmp; int32 i; @@ -1477,7 +1478,7 @@ void SmushPlayer::startVideo(short int arg, byte *videoFile) { if (_scumm->_gameId == GID_FT) { for (idx = 0; idx < MAX_STREAMER; idx++) { if (_psadTrk[idx] != 0) { - if (_strkNewMixer) { + if (_strkNewMixer[idx]) { g_mixer->play_stream(NULL, idx, _strkBuf[idx], _strkFinalSize[idx], _strkRate[idx], SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE); } else { g_mixer->append(idx, _strkBuf[idx], _strkFinalSize[idx], _strkRate[idx], SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE); |