commit ba1accec2394c6ee70c5c79a42827099ef20e638
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Sep 8 18:12:10 2009 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Tue Sep 8 18:12:10 2009 +0000
Set the correct instrument voice, instead of using the first voice for
both.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1661
---
src/i_oplmusic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.