diff options
author | athrxx | 2019-03-20 21:48:26 +0100 |
---|---|---|
committer | athrxx | 2019-03-22 21:03:54 +0100 |
commit | 1cfa6c087a88eb795dc0ae46cbeb5a578318a317 (patch) | |
tree | fe8bf6b8dbc7d47f8b24edf0277410c5c839c047 /audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp | |
parent | 73678257b95f49319f7789943e4a8b1855e18c8b (diff) | |
download | scummvm-rg350-1cfa6c087a88eb795dc0ae46cbeb5a578318a317.tar.gz scummvm-rg350-1cfa6c087a88eb795dc0ae46cbeb5a578318a317.tar.bz2 scummvm-rg350-1cfa6c087a88eb795dc0ae46cbeb5a578318a317.zip |
AUDIO: (FM-TOWNS/PC-98) - silence some compiler warnings
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp index b5e8c84491..ed1b85170b 100644 --- a/audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_pc98_driver.cpp @@ -184,8 +184,6 @@ private: bool control_f1_prcStart(uint8 para); bool control_ff_endOfTrack(uint8 para); - uint8 _algorithm; - typedef Common::Functor1Mem<uint8, bool, TownsPC98_MusicChannelPCM> ControlEvent; Common::Array<const ControlEvent*> _controlEvents; }; @@ -983,7 +981,7 @@ void TownsPC98_SfxChannel::reset() { #ifndef DISABLE_PC98_RHYTHM_CHANNEL #define CONTROL(x) _controlEvents.push_back(new ControlEvent(this, &TownsPC98_MusicChannelPCM::control_##x)) TownsPC98_MusicChannelPCM::TownsPC98_MusicChannelPCM(TownsPC98_AudioDriver *driver, uint8 regOffs, uint8 flgs, uint8 num, uint8 key, uint8 prt, uint8 id) : -TownsPC98_MusicChannel(driver, regOffs, flgs, num, key, prt, id), _algorithm(0x80) { +TownsPC98_MusicChannel(driver, regOffs, flgs, num, key, prt, id) { CONTROL(dummy); CONTROL(f1_prcStart); CONTROL(dummy); |