aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
diff options
context:
space:
mode:
authorLittleboy2012-07-28 00:58:34 -0400
committerLittleboy2012-07-28 00:58:34 -0400
commit1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e (patch)
tree14f556be293ffa518097f0f375b8e3ef35c8b50b /engines/lastexpress
parent42c9b405f1d7a6e4e3a117579a126f290c6d895a (diff)
downloadscummvm-rg350-1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e.tar.gz
scummvm-rg350-1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e.tar.bz2
scummvm-rg350-1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e.zip
LASTEXPRESS: Disable sound filter reset on each decoded block
The filter id should be computed from the sound entry status for each decoded block. The current code was resulting in blocks being skipped.
Diffstat (limited to 'engines/lastexpress')
-rw-r--r--engines/lastexpress/data/snd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/data/snd.cpp b/engines/lastexpress/data/snd.cpp
index 51d0815c1e..a77e4a06c6 100644
--- a/engines/lastexpress/data/snd.cpp
+++ b/engines/lastexpress/data/snd.cpp
@@ -378,7 +378,7 @@ public:
// Get current filter
_currentFilterId = _nextFilterId;
- _nextFilterId = -1;
+ //_nextFilterId = -1; // FIXME: the filter id should be recomputed based on the sound entry status for each block
// No filter: skip decoding
if (_currentFilterId == -1)