diff options
author | Jamieson Christian | 2003-10-06 01:08:38 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-10-06 01:08:38 +0000 |
commit | 97d7223bcabcfe8c12ed4cd07371e1c3887c4006 (patch) | |
tree | 8d5df13e16b565080fd53063e2222f4aafeefef5 /backends/midi/ym2612.cpp | |
parent | f16775476f38bebba110579235e9f7ebdfdd485a (diff) | |
download | scummvm-rg350-97d7223bcabcfe8c12ed4cd07371e1c3887c4006.tar.gz scummvm-rg350-97d7223bcabcfe8c12ed4cd07371e1c3887c4006.tar.bz2 scummvm-rg350-97d7223bcabcfe8c12ed4cd07371e1c3887c4006.zip |
Fix compiler warnings
svn-id: r10626
Diffstat (limited to 'backends/midi/ym2612.cpp')
-rw-r--r-- | backends/midi/ym2612.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp index c3b73156b2..2f7e18c715 100644 --- a/backends/midi/ym2612.cpp +++ b/backends/midi/ym2612.cpp @@ -204,8 +204,8 @@ _lastOutput (0), _feedbackLevel (0), _detune (0), _multiple (1), -_specifiedTotalLevel (127), _keyScale (0), +_specifiedTotalLevel (127), _specifiedAttackRate (0), _specifiedDecayRate (0), _specifiedSustainRate (0), @@ -757,9 +757,6 @@ void MidiDriver_YM2612::premix_proc(void *param, int16 *buf, uint len) { void MidiDriver_YM2612::generate_samples(int16 *data, int len) { int step; - int16 *origData = data; - uint origLen = len; - do { step = len; if (step > (_next_tick >> FIXP_SHIFT)) |