[Scummvm-cvs-logs] scummvm master -> 1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e

Littleboy littleboy22 at gmail.com
Sat Jul 28 06:59:30 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1bfd55535f LASTEXPRESS: Disable sound filter reset on each decoded block


Commit: 1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e
    https://github.com/scummvm/scummvm/commit/1bfd55535fc4b1e25bfeafbaf1bfcb6a3443a40e
Author: Littleboy (littleboy at scummvm.org)
Date: 2012-07-27T21:58:34-07:00

Commit Message:
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.

Changed paths:
    engines/lastexpress/data/snd.cpp



diff --git a/engines/lastexpress/data/snd.cpp b/engines/lastexpress/data/snd.cpp
index 51d0815..a77e4a0 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)






More information about the Scummvm-git-logs mailing list