aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/snes9x.h1
-rw-r--r--source/soundux.c8
2 files changed, 0 insertions, 9 deletions
diff --git a/source/snes9x.h b/source/snes9x.h
index 9ddce7b..48a5714 100644
--- a/source/snes9x.h
+++ b/source/snes9x.h
@@ -334,7 +334,6 @@ typedef struct
bool8 ThreadSound;
bool8 Mute;
bool8 NextAPUEnabled;
- bool8 FixFrequency;
/* Graphics options */
bool8 Transparency;
diff --git a/source/soundux.c b/source/soundux.c
index d991c04..779cfc4 100644
--- a/source/soundux.c
+++ b/source/soundux.c
@@ -475,11 +475,6 @@ void S9xSetSoundFrequency(int channel, int hertz)
hertz = NoiseFreq [APU.DSP [APU_FLG] & 0x1f];
SoundData.channels[channel].frequency = (int)
(((int64) hertz * FIXED_POINT) / so.playback_rate);
- if (Settings.FixFrequency)
- {
- SoundData.channels[channel].frequency =
- (unsigned long)(SoundData.channels[channel].frequency * 49 / 50);
- }
}
}
@@ -800,9 +795,6 @@ static inline void MixStereo(int sample_count)
int32 VL, VR;
unsigned long freq0 = ch->frequency;
- // freq0 = (unsigned long) ((double) freq0 * 0.985);//uncommented by jonathan gevaryahu, as it is necessary for most cards in linux
- freq0 = freq0 * 985 / 1000;
-
bool8 mod = pitch_mod & (1 << J);
if (ch->needs_decode)