diff options
author | Max Horn | 2002-04-27 14:44:07 +0000 |
---|---|---|
committer | Max Horn | 2002-04-27 14:44:07 +0000 |
commit | 371f14a7522a799eb9cc3bd731e54afc958b8d1b (patch) | |
tree | cc7590b2c25ab74b35c67ec97c79b679075f6924 | |
parent | 2f51936f4fb5026eb3960c6ec108fffe0e2b2c92 (diff) | |
download | scummvm-rg350-371f14a7522a799eb9cc3bd731e54afc958b8d1b.tar.gz scummvm-rg350-371f14a7522a799eb9cc3bd731e54afc958b8d1b.tar.bz2 scummvm-rg350-371f14a7522a799eb9cc3bd731e54afc958b8d1b.zip |
fixed midi instrument ids in QuickTime driver
svn-id: r4109
-rw-r--r-- | sound/mididrv.cpp | 2 |
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 |