diff options
author | athrxx | 2012-08-19 18:58:41 +0200 |
---|---|---|
committer | athrxx | 2012-11-11 19:14:26 +0100 |
commit | 17ed912ed538eee539ab199c738ccfa3709f7e31 (patch) | |
tree | 294ba82e8b5f7c57802a3cfb1e9bca781689c5c6 | |
parent | 4e65b67c309f2dcdf5e2d65828b41912abef9ac8 (diff) | |
download | scummvm-rg350-17ed912ed538eee539ab199c738ccfa3709f7e31.tar.gz scummvm-rg350-17ed912ed538eee539ab199c738ccfa3709f7e31.tar.bz2 scummvm-rg350-17ed912ed538eee539ab199c738ccfa3709f7e31.zip |
AUDIO: remove unused variables in FM-TOWNS imuse driver
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_midi.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_midi.cpp b/audio/softsynth/fmtowns_pc98/towns_midi.cpp index b8203944c0..46b1a6406d 100644 --- a/audio/softsynth/fmtowns_pc98/towns_midi.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_midi.cpp @@ -147,17 +147,10 @@ private: TownsMidiOutputChannel *_out; uint8 *_instrument; - uint8 _prg; uint8 _chanIndex; - uint8 _effectLevel; uint8 _priority; - uint8 _ctrlVolume; uint8 _tl; - uint8 _pan; - uint8 _panEff; - uint8 _percS; int8 _transpose; - uint8 _fld_1f; int8 _detune; int8 _modWheel; uint8 _sustain; @@ -659,9 +652,8 @@ const uint16 TownsMidiOutputChannel::_freqLSB[] = { 0x055B, 0x055B, 0x055B, 0x055B, 0x055B, 0x055B, 0x055B, 0x055B }; -TownsMidiInputChannel::TownsMidiInputChannel(MidiDriver_TOWNS *driver, int chanIndex) : MidiChannel(), _driver(driver), _out(0), _prg(0), _chanIndex(chanIndex), - _effectLevel(0), _priority(0), _ctrlVolume(0), _tl(0), _pan(0), _panEff(0), _transpose(0), _percS(0), _pitchBendFactor(0), _pitchBend(0), _sustain(0), _freqLSB(0), - _fld_1f(0), _detune(0), _modWheel(0), _allocated(false) { +TownsMidiInputChannel::TownsMidiInputChannel(MidiDriver_TOWNS *driver, int chanIndex) : MidiChannel(), _driver(driver), _out(0), _chanIndex(chanIndex), + _priority(0), _tl(0), _transpose(0), _pitchBendFactor(0), _pitchBend(0), _sustain(0), _freqLSB(0), _detune(0), _modWheel(0), _allocated(false) { _instrument = new uint8[30]; memset(_instrument, 0, 30); } |