Skip to content

Commit

Permalink
LASTEXPRESS: Disable sound filter reset on each decoded block
Browse files Browse the repository at this point in the history
The filter id should be computed from the sound entry status for each decoded block. The current code was resulting in blocks being skipped.
  • Loading branch information
Templier committed Jul 28, 2012
1 parent 42c9b40 commit 1bfd555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/lastexpress/data/snd.cpp
Expand Up @@ -378,7 +378,7 @@ class LastExpress_ADPCMStream : public Audio::ADPCMStream {

// 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)
Expand Down

0 comments on commit 1bfd555

Please sign in to comment.