diff options
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_midi.cpp')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_midi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_midi.cpp b/audio/softsynth/fmtowns_pc98/towns_midi.cpp index d69ed73ee6..b8203944c0 100644 --- a/audio/softsynth/fmtowns_pc98/towns_midi.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_midi.cpp @@ -563,7 +563,7 @@ int TownsMidiOutputChannel::getEffectModLevel(int lvl, int mod) { if (lvl < 0) return -_driver->_operatorLevelTable[((-lvl) << 5) + mod]; else - return _driver->_operatorLevelTable[((-lvl) << 5) + mod]; + return _driver->_operatorLevelTable[(lvl << 5) + mod]; } return 0; |