- fixed: OPLio::WriteTremolo wrote the wrong value for operator #0.

This commit is contained in:
Christoph Oelckers 2017-05-08 22:46:35 +02:00
parent 762ba13cd9
commit c6a516089e

View file

@ -420,7 +420,7 @@ void OPLio::WriteTremolo(uint32_t channel, struct GenMidiVoice *voice, bool vibr
val2 |= 0x40;
}
WriteOperator(OPL_REGS_TREMOLO, channel, 1, val2);
WriteOperator(OPL_REGS_TREMOLO, channel, 0, val2);
WriteOperator(OPL_REGS_TREMOLO, channel, 0, val1);
}
//----------------------------------------------------------------------------