diff options
author | mooglyguy <therealmogminer@gmail.com> | 2018-12-02 18:17:50 +0100 |
---|---|---|
committer | mooglyguy <therealmogminer@gmail.com> | 2018-12-02 18:17:50 +0100 |
commit | cde5158fedd88e21e4aeeb8a7c93c68cefc49e8b (patch) | |
tree | bad9f99797f480b7c41d2b7d92f7f6f2e7440530 | |
parent | 8c6ed0e06b964bcef732a654bbc9bb5cbf16e945 (diff) |
Fixed an obviously-wrong 'fix' that was blindly merged by someone who should have known better.
-rw-r--r-- | src/devices/sound/scsp.cpp | 4 |
1 files 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; |