diff options
| author | Jerome Fisher | 2005-07-03 22:56:51 +0000 | 
|---|---|---|
| committer | Jerome Fisher | 2005-07-03 22:56:51 +0000 | 
| commit | 407dd03e2862a6eaa96ad1046350a020065c4dc2 (patch) | |
| tree | 9fd69c8c4be14ff6caff5fba2b735f64600ff14b /sound/softsynth/mt32/tables.cpp | |
| parent | de14b2337ff9a5a3e620c5d0a75e1df749487e61 (diff) | |
| download | scummvm-rg350-407dd03e2862a6eaa96ad1046350a020065c4dc2.tar.gz scummvm-rg350-407dd03e2862a6eaa96ad1046350a020065c4dc2.tar.bz2 scummvm-rg350-407dd03e2862a6eaa96ad1046350a020065c4dc2.zip | |
- Small changes to sync with Munt.
svn-id: r18488
Diffstat (limited to 'sound/softsynth/mt32/tables.cpp')
| -rw-r--r-- | sound/softsynth/mt32/tables.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/sound/softsynth/mt32/tables.cpp b/sound/softsynth/mt32/tables.cpp index 199221986e..e12f306cf9 100644 --- a/sound/softsynth/mt32/tables.cpp +++ b/sound/softsynth/mt32/tables.cpp @@ -164,7 +164,7 @@ void Tables::initEnvelopes(float samplerate) {  		if (elf == 0) {  			envDeltaMaxTime[lf] = 63;  		} else { -			float cap = 11 * (float)log(elf) + 64; +			float cap = 11.0f * logf(elf) + 64;  			if (cap > 100.0f) {  				cap = 100.0f;  			} | 
