From 59cbfdcad9807cf1f8eec744f2b4ad445ed992a0 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 5 Feb 2022 15:15:27 -0500 Subject: [PATCH] PCE: partial fix to LFO issue #88 --- src/engine/platform/pce.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/pce.cpp b/src/engine/platform/pce.cpp index 497d46114..130a45ecc 100644 --- a/src/engine/platform/pce.cpp +++ b/src/engine/platform/pce.cpp @@ -297,7 +297,7 @@ int DivPlatformPCE::dispatch(DivCommand c) { rWrite(0x09,c.value); break; case DIV_CMD_PCE_LFO_SPEED: - rWrite(0x08,c.value); + rWrite(0x08,255-c.value); break; case DIV_CMD_NOTE_PORTA: { int destFreq=NOTE_PERIODIC(c.value2);