aboutsummaryrefslogtreecommitdiff
path: root/sound/mods
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mods')
-rw-r--r--sound/mods/maxtrax.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp
index 3817213b90..80765913b3 100644
--- a/sound/mods/maxtrax.cpp
+++ b/sound/mods/maxtrax.cpp
@@ -240,9 +240,9 @@ endOfEventLoop:
voice.dmaOff = 0;
voice.isBlocked = false;
voice.priority = 0;
- voice.status = VoiceContext::kStatusRelease;
+ // disable it in next tick
+ voice.stopEventTime = 0;
}
- // still act if voice is in sustain
if (!channel.isAltered && !voice.hasPortamento && (!kHasModulation || !channel.modulation))
continue;
// Update Volume and Period