diff options
-rw-r--r-- | audio/decoders/qdm2.cpp | 3 | ||||
-rw-r--r-- | audio/mods/maxtrax.cpp | 7 | ||||
-rw-r--r-- | audio/mods/tfmx.cpp | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/audio/decoders/qdm2.cpp b/audio/decoders/qdm2.cpp index ed1c014a34..a9cf30e9ef 100644 --- a/audio/decoders/qdm2.cpp +++ b/audio/decoders/qdm2.cpp @@ -1552,6 +1552,9 @@ void QDM2Stream::fill_coding_method_array(sb_int8_array tone_level_idx, sb_int8_ case 4: if (comp < 16) comp = 16; + break; + default: + break; } if (comp <= 5) tmp = 0; diff --git a/audio/mods/maxtrax.cpp b/audio/mods/maxtrax.cpp index b907357c70..4295b57aa7 100644 --- a/audio/mods/maxtrax.cpp +++ b/audio/mods/maxtrax.cpp @@ -236,6 +236,8 @@ void MaxTrax::interrupt() { } } break; + default: + break; } break; @@ -327,6 +329,9 @@ endOfEventLoop: } voice.stopEventTime = -1; break; + + default: + break; } // Process Envelope @@ -501,6 +506,8 @@ allNotesOff: killVoice((byte)i); } break; + default: + break; } } diff --git a/audio/mods/tfmx.cpp b/audio/mods/tfmx.cpp index 8d31faa104..a2a474ae65 100644 --- a/audio/mods/tfmx.cpp +++ b/audio/mods/tfmx.cpp @@ -604,6 +604,9 @@ bool Tfmx::patternRun(PatternContext &pattern) { case 15: // NOP continue; + + default: + break; } } } @@ -732,6 +735,9 @@ void Tfmx::noteCommand(const uint8 note, const uint8 param1, const uint8 param2, channel.envCount = channel.envSkip = (param2 >> 4) + 1; channel.envEndVolume = param3; break; + + default: + break; } } |