1
0
Fork 0

Warning Warning.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1971
This commit is contained in:
Peter Veenstra 2004-09-10 22:31:03 +00:00
parent 386461754e
commit 0a2704969e

View file

@ -266,7 +266,7 @@ static void PCSPEAKER_CallBack(Bitu len) {
index+=vol_len;
} else {
/* Check how long it will take to goto new level */
float vol_time=abs(vol_diff)/SPKR_SPEED;
float vol_time=fabs(vol_diff)/SPKR_SPEED;
if (vol_time<=vol_len) {
/* Volume reaches endpoint in this block, calc until that point */
value+=vol_time*spkr.volcur;