diff options
author | Simon Howard | 2009-09-08 18:12:10 +0000 |
---|---|---|
committer | Simon Howard | 2009-09-08 18:12:10 +0000 |
commit | ba1accec2394c6ee70c5c79a42827099ef20e638 (patch) | |
tree | 3ee492f23fb29f69a98ed92ebceed3f75076d12d /src | |
parent | e97bc5db814b844ef2e4ee92f8a683031853dadb (diff) | |
download | chocolate-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.c | 2 |
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. |