aboutsummaryrefslogtreecommitdiff
path: root/sound/mididrv.cpp
diff options
context:
space:
mode:
authorMax Horn2002-04-27 14:44:07 +0000
committerMax Horn2002-04-27 14:44:07 +0000
commit371f14a7522a799eb9cc3bd731e54afc958b8d1b (patch)
treecc7590b2c25ab74b35c67ec97c79b679075f6924 /sound/mididrv.cpp
parent2f51936f4fb5026eb3960c6ec108fffe0e2b2c92 (diff)
downloadscummvm-rg350-371f14a7522a799eb9cc3bd731e54afc958b8d1b.tar.gz
scummvm-rg350-371f14a7522a799eb9cc3bd731e54afc958b8d1b.tar.bz2
scummvm-rg350-371f14a7522a799eb9cc3bd731e54afc958b8d1b.zip
fixed midi instrument ids in QuickTime driver
svn-id: r4109
Diffstat (limited to 'sound/mididrv.cpp')
-rw-r--r--sound/mididrv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp
index ff1e305f9e..bdf75f58ac 100644
--- a/sound/mididrv.cpp
+++ b/sound/mididrv.cpp
@@ -602,7 +602,7 @@ void MidiDriver_QT::send(uint32 b) {
break;
case 0xC0: // Program change
- NASetInstrumentNumber(qtNoteAllocator, qtNoteChannel[chanID], midiCmd[1]);
+ NASetInstrumentNumber(qtNoteAllocator, qtNoteChannel[chanID], midiCmd[1] + 1);
break;
case 0xE0:{ // Pitch bend