Warning Warning.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1971
This commit is contained in:
parent
386461754e
commit
0a2704969e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue