mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
OPL Synth fix: Double-voice instruments randomly don't play second voice
This commit is contained in:
parent
e87cdd3658
commit
583da7f6cf
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ void musicBlock::noteOn(uint32_t channel, uint8_t key, int volume)
|
|||
if (double_voice)
|
||||
{
|
||||
i = findFreeVoice();
|
||||
if (i > 0)
|
||||
if (i >= 0)
|
||||
{
|
||||
voiceKeyOn(i, channel, instrument, 1, key, volume);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue