From cde5158fedd88e21e4aeeb8a7c93c68cefc49e8b Mon Sep 17 00:00:00 2001 From: mooglyguy Date: Sun, 2 Dec 2018 18:17:50 +0100 Subject: Fixed an obviously-wrong 'fix' that was blindly merged by someone who should have known better. --- src/devices/sound/scsp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/sound/scsp.cpp b/src/devices/sound/scsp.cpp index 6ba559ffc6a..d9d9d17d775 100644 --- a/src/devices/sound/scsp.cpp +++ b/src/devices/sound/scsp.cpp @@ -1513,7 +1513,7 @@ READ16_MEMBER( scsp_device::midi_out_r ) #define CENTS(v) LFIX(powf(2.0f, v / 1200.0f)) -static const float LFOFreq[32] = +static const float LFOFreq[32] = { 0.17f,0.19f,0.23f,0.27f,0.34f,0.39f,0.45f,0.55f,0.68f,0.78f,0.92f,1.10f,1.39f,1.60f,1.87f,2.27f, 2.87f,3.31f,3.92f,4.79f,6.15f,7.18f,8.60f,10.8f,14.4f,17.2f,21.5f,28.7f,43.1f,57.4f,86.1f,172.3f @@ -1546,7 +1546,7 @@ void scsp_device::LFO_Init() else { a = 0; - p -= 128; + p = -128; } m_ALFO_SQR[i] = a; m_PLFO_SQR[i] = p; -- cgit v1.2.3