[Scummvm-git-logs] scummvm master -> 902b191266b470ef4bc4b753cd1a605f899d951a

criezy criezy at scummvm.org
Thu Sep 7 01:54:21 CEST 2017


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:
902b191266 MADE: Fix static noise when playing sounds


Commit: 902b191266b470ef4bc4b753cd1a605f899d951a
    https://github.com/scummvm/scummvm/commit/902b191266b470ef4bc4b753cd1a605f899d951a
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2017-09-07T00:52:50+01:00

Commit Message:
MADE: Fix static noise when playing sounds

This was a regression introduced in commit 298ea1a.
This fixes bug #9753.

Changed paths:
    engines/made/sound.cpp


diff --git a/engines/made/sound.cpp b/engines/made/sound.cpp
index 62559ef..ccc85a3 100644
--- a/engines/made/sound.cpp
+++ b/engines/made/sound.cpp
@@ -249,9 +249,6 @@ void decompressSound(byte *source, byte *dest, uint16 chunkSize, uint16 chunkCou
 			// soundBuffer.
 			soundBuffer[workChunkSize] = soundBuffer[workChunkSize - 1];
 
-			for (i = 0; i < chunkSize; i++)
-				soundBuffer[i] = 0;
-
 			if (deltaType == 1) {
 				for (i = 0; i < chunkSize - 1; i += 2) {
 					l = i / 2;





More information about the Scummvm-git-logs mailing list