aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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