aboutsummaryrefslogtreecommitdiff
path: root/src/chips/opal/opal.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chips/opal/opal.hpp')
-rw-r--r--src/chips/opal/opal.hpp7
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: {