[Scummvm-cvs-logs] SF.net SVN: scummvm:[35320] scummvm/trunk/engines/saga/sndres.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Dec 12 23:56:56 CET 2008
Revision: 35320
http://scummvm.svn.sourceforge.net/scummvm/?rev=35320&view=rev
Author: thebluegr
Date: 2008-12-12 22:56:56 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
Fixed a regression of commit #34458. Sound data for compressed sounds was read incorrectly. Fixes bugs #2422371 - "ITE: Talk animation takes longer than speaking" and #2111496 - "IHNM: Speech is garbled"
Modified Paths:
--------------
scummvm/trunk/engines/saga/sndres.cpp
Modified: scummvm/trunk/engines/saga/sndres.cpp
===================================================================
--- scummvm/trunk/engines/saga/sndres.cpp 2008-12-12 21:42:38 UTC (rev 35319)
+++ scummvm/trunk/engines/saga/sndres.cpp 2008-12-12 22:56:56 UTC (rev 35320)
@@ -376,7 +376,7 @@
resourceData = context->getResourceData(resourceId);
// Read compressed sfx header
- readS.seek(1); // Skip compression identifier byte
+ readS.readByte(); // Skip compression identifier byte
buffer.frequency = readS.readUint16LE();
buffer.originalSize = readS.readUint32LE();
buffer.sampleBits = readS.readByte();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list