diff options
author | Travis Howell | 2009-02-20 03:46:00 +0000 |
---|---|---|
committer | Travis Howell | 2009-02-20 03:46:00 +0000 |
commit | 422ebda3ba103cbf29ea219df00079b25d27ed7c (patch) | |
tree | ef1c3817e95ec19d6905bd41df61d158be4a9481 /engines/sci/sfx | |
parent | 2b214ed5bcae48902f28b3cdd3c2c9a9e8209e18 (diff) | |
download | scummvm-rg350-422ebda3ba103cbf29ea219df00079b25d27ed7c.tar.gz scummvm-rg350-422ebda3ba103cbf29ea219df00079b25d27ed7c.tar.bz2 scummvm-rg350-422ebda3ba103cbf29ea219df00079b25d27ed7c.zip |
Add change from Quietust, to fix MSVC 7.1 compile.
svn-id: r38574
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r-- | engines/sci/sfx/softseq/opl2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/softseq/opl2.cpp b/engines/sci/sfx/softseq/opl2.cpp index eb94fcee97..9dc9bf387b 100644 --- a/engines/sci/sfx/softseq/opl2.cpp +++ b/engines/sci/sfx/softseq/opl2.cpp @@ -280,7 +280,7 @@ void synth_setnote(int voice, int note, int bend) { if (bend < 8192) bend = 8192 - bend; - delta = pow(2, (float)(bend % 8192) / 8192.0); + delta = pow(2.0, (float)(bend % 8192) / 8192.0); if (bend > 8192) fre = (int)(ym3812_note[n] * delta); |