From c6a516089ec52d6ae758357de23b186fb838c77e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 8 May 2017 22:46:35 +0200 Subject: [PATCH] - fixed: OPLio::WriteTremolo wrote the wrong value for operator #0. --- src/sound/oplsynth/oplio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/oplsynth/oplio.cpp b/src/sound/oplsynth/oplio.cpp index e810a58c18..fb4d507a76 100644 --- a/src/sound/oplsynth/oplio.cpp +++ b/src/sound/oplsynth/oplio.cpp @@ -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); } //----------------------------------------------------------------------------