diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-10-17 21:00:59 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-10-17 21:00:59 +0300 |
commit | 8b88c5ce46c508f5b7277774456b2266d459cc88 (patch) | |
tree | 735af1af14ce047ae72c548fc1c703552f712e8f /src/adlmidi_opl3.cpp | |
parent | c07b146a1a3991edd6c3233dcd1956b989303dd3 (diff) | |
download | libADLMIDI-8b88c5ce46c508f5b7277774456b2266d459cc88.tar.gz libADLMIDI-8b88c5ce46c508f5b7277774456b2266d459cc88.tar.bz2 libADLMIDI-8b88c5ce46c508f5b7277774456b2266d459cc88.zip |
Custom banks 4-operator voices playback fix
Diffstat (limited to 'src/adlmidi_opl3.cpp')
-rw-r--r-- | src/adlmidi_opl3.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp index 27680f5..7ae2486 100644 --- a/src/adlmidi_opl3.cpp +++ b/src/adlmidi_opl3.cpp @@ -321,7 +321,6 @@ void OPL3::updateFlags() { for(unsigned b = 0; b < 5; ++b) four_op_category[a * 23 + 18 + b] = static_cast<char>(b + 3); - for(unsigned b = 0; b < 3; ++b) four_op_category[a * 23 + 6 + b] = 8; } @@ -339,16 +338,13 @@ void OPL3::updateFlags() case 1: nextfour += 1; break; - case 2: nextfour += 9 - 2; break; - case 3: case 4: nextfour += 1; break; - case 5: nextfour += 23 - 9 - 2; break; |