diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2019-02-24 00:00:55 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2019-02-24 00:00:55 +0300 |
commit | 1cecfeec8bd300c848000eeb929841a3564e70ff (patch) | |
tree | 2534b4a06ede6feb36d16506439acd1de9823058 /src/chips/opal/opal.hpp | |
parent | 144b125b51862952138c8deccf4c82d7dbe2ad8e (diff) | |
download | libADLMIDI-1cecfeec8bd300c848000eeb929841a3564e70ff.tar.gz libADLMIDI-1cecfeec8bd300c848000eeb929841a3564e70ff.tar.bz2 libADLMIDI-1cecfeec8bd300c848000eeb929841a3564e70ff.zip |
Minor warning fixes in opal.hpp
Diffstat (limited to 'src/chips/opal/opal.hpp')
-rw-r--r-- | src/chips/opal/opal.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/chips/opal/opal.hpp b/src/chips/opal/opal.hpp index 82eae4e..3ab4604 100644 --- a/src/chips/opal/opal.hpp +++ b/src/chips/opal/opal.hpp @@ -940,7 +940,7 @@ Opal::Operator::Operator() { //================================================================================================== // Produce output from operator. //================================================================================================== -int16_t Opal::Operator::Output(uint16_t keyscalenum, uint32_t phase_step, int16_t vibrato, int16_t mod, int16_t fbshift) { +int16_t Opal::Operator::Output(uint16_t /*keyscalenum*/, uint32_t phase_step, int16_t vibrato, int16_t mod, int16_t fbshift) { // Advance wave phase if (VibratoEnable) @@ -983,12 +983,11 @@ int16_t Opal::Operator::Output(uint16_t keyscalenum, uint32_t phase_step, int16_ // Sustain stage case EnvSus: { - if (SustainMode) break; - // Note: fall-through! - } + + }//fallthrough // Release stage case EnvRel: { |