aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
Diffstat (limited to 'sky')
-rw-r--r--sky/music/gmchannel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sky/music/gmchannel.cpp b/sky/music/gmchannel.cpp
index 4737cedf34..7aea34e572 100644
--- a/sky/music/gmchannel.cpp
+++ b/sky/music/gmchannel.cpp
@@ -59,7 +59,10 @@ void GmChannel::updateVolume(uint16 pVolume) {
void GmChannel::stopNote(void) {
+ // All Notes Off
_midiDrv->send((0xB0 | _channelData.midiChannelNumber) | 0x7B00 | 0 | 0x79000000);
+ // Pitch Wheel
+ _midiDrv->send((0xE0 | _channelData.midiChannelNumber) | 0x400000);
}
int32 GmChannel::getNextEventTime(void) {