diff options
author | Norbert Lange | 2009-08-08 09:23:09 +0000 |
---|---|---|
committer | Norbert Lange | 2009-08-08 09:23:09 +0000 |
commit | 6dbeddab258b5b681586e4e6996acfc3f2cce2be (patch) | |
tree | 763b38e8c2c9784113e22ebeadfb6692b4e1c9ac /sound/mods | |
parent | baeed11aaec78a111d5c1e66a56b9782f1511fd4 (diff) | |
download | scummvm-rg350-6dbeddab258b5b681586e4e6996acfc3f2cce2be.tar.gz scummvm-rg350-6dbeddab258b5b681586e4e6996acfc3f2cce2be.tar.bz2 scummvm-rg350-6dbeddab258b5b681586e4e6996acfc3f2cce2be.zip |
slighty changed how voices get disabled after their sample played
svn-id: r43111
Diffstat (limited to 'sound/mods')
-rw-r--r-- | sound/mods/maxtrax.cpp | 4 |
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 |