diff options
author | Toad King | 2012-06-14 23:28:56 -0400 |
---|---|---|
committer | Toad King | 2012-06-14 23:28:56 -0400 |
commit | 8a41736496d4109b2c832ac8b176c5e1ebe9c457 (patch) | |
tree | a7f285615b54a69b8d1a9e526bb2993abf528f12 /src | |
parent | 536905f71f98156807e748449ac205b2e469876c (diff) | |
download | snes9x2002-8a41736496d4109b2c832ac8b176c5e1ebe9c457.tar.gz snes9x2002-8a41736496d4109b2c832ac8b176c5e1ebe9c457.tar.bz2 snes9x2002-8a41736496d4109b2c832ac8b176c5e1ebe9c457.zip |
use the slower, more accurate SPC700 modes
hack around sounds being higher pitched than they should be
Diffstat (limited to 'src')
-rw-r--r-- | src/soundux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundux.cpp b/src/soundux.cpp index 5b46f07..3af6be4 100644 --- a/src/soundux.cpp +++ b/src/soundux.cpp @@ -1145,7 +1145,7 @@ void S9xSetPlaybackRate (uint32 playback_rate) if(playback_rate) {
// notaz: calclulate a value (let's call it freqbase) to simplify channel freq calculations later.
- so.freqbase = (FIXED_POINT<<11) / playback_rate;
+ so.freqbase = (FIXED_POINT<<11) / (playback_rate * 33 / 32);
// now precalculate env rates for S9xSetEnvRate
static int steps [] =
{
|