[Scummvm-devel] Re: [Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.72,1.73

Max Horn max at quendi.de
Wed Jul 23 07:53:13 CEST 2003


Am Mittwoch, 23.07.03 um 15:17 Uhr schrieb Torbj?rn Andersson:

> Update of /cvsroot/scummvm/scummvm/sound
> In directory sc8-pr-cvs1:/tmp/cvs-serv27106
>
> Modified Files:
> 	mixer.cpp
> Log Message:
> Fixed regression in clamped_add_16() that kept it from clamping. This 
> was
> quite noticeable in the BASS floppy intro.
>
> Of course, if it turns out that 'int' is also only 16 bits it still 
> won't
> work, but in that case we run into problems even before this function 
> is
> called.
>
Use int32 to get a guranteed 32 bits.

Anyway, thanks for fixing this - I actually had fixed this locally a 
long time ago, but due to local changes to the mixer I can't commit any 
of the code (and forgot to commit this fix, too :-()

Good job :-)

Max





More information about the Scummvm-devel mailing list