aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-25 22:14:41 +0000
committerMartin Kiewitz2009-12-25 22:14:41 +0000
commit4dbb9c0806abc83ab40db21728e616a9c31dfbab (patch)
tree7dc7294f59fb6cd41a7bc7780887b18d17fdadde
parentff00963a8b4dc6a8db9534d166406f37b12692c0 (diff)
downloadscummvm-rg350-4dbb9c0806abc83ab40db21728e616a9c31dfbab.tar.gz
scummvm-rg350-4dbb9c0806abc83ab40db21728e616a9c31dfbab.tar.bz2
scummvm-rg350-4dbb9c0806abc83ab40db21728e616a9c31dfbab.zip
SCI: implemented command 0x80 (stopnote) for amiga music driver
svn-id: r46566
-rw-r--r--engines/sci/sfx/softseq/amiga.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sfx/softseq/amiga.cpp b/engines/sci/sfx/softseq/amiga.cpp
index cab1b26722..d16e82fab5 100644
--- a/engines/sci/sfx/softseq/amiga.cpp
+++ b/engines/sci/sfx/softseq/amiga.cpp
@@ -574,6 +574,9 @@ void MidiDriver_Amiga::send(uint32 b) {
byte op2 = (b >> 16) & 0xff;
switch (command) {
+ case 0x80:
+ stopNote(channel, op1);
+ break;
case 0x90:
if (op2 > 0)
startNote(channel, op1, op2);