summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2009-09-08 18:12:10 +0000
committerSimon Howard2009-09-08 18:12:10 +0000
commitba1accec2394c6ee70c5c79a42827099ef20e638 (patch)
tree3ee492f23fb29f69a98ed92ebceed3f75076d12d /src
parente97bc5db814b844ef2e4ee92f8a683031853dadb (diff)
downloadchocolate-doom-ba1accec2394c6ee70c5c79a42827099ef20e638.tar.gz
chocolate-doom-ba1accec2394c6ee70c5c79a42827099ef20e638.tar.bz2
chocolate-doom-ba1accec2394c6ee70c5c79a42827099ef20e638.zip
Set the correct instrument voice, instead of using the first voice for
both. Subversion-branch: /branches/opl-branch Subversion-revision: 1661
Diffstat (limited to 'src')
-rw-r--r--src/i_oplmusic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_oplmusic.c b/src/i_oplmusic.c
index 8ec47b80..643f67c5 100644
--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -914,7 +914,7 @@ static void VoiceKeyOn(opl_channel_data_t *channel,
// Program the voice with the instrument data:
- SetVoiceInstrument(voice, instrument, 0);
+ SetVoiceInstrument(voice, instrument, instrument_voice);
// Set the volume level.