shithub: choc

Download patch

ref: ba1accec2394c6ee70c5c79a42827099ef20e638
parent: e97bc5db814b844ef2e4ee92f8a683031853dadb
author: Simon Howard <[email protected]>
date: Tue Sep 8 14:12:10 EDT 2009

Set the correct instrument voice, instead of using the first voice for
both.

Subversion-branch: /branches/opl-branch
Subversion-revision: 1661

--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -914,7 +914,7 @@
 
     // Program the voice with the instrument data:
 
-    SetVoiceInstrument(voice, instrument, 0);
+    SetVoiceInstrument(voice, instrument, instrument_voice);
 
     // Set the volume level.