summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/scsp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/scsp.cpp')
-rw-r--r--src/devices/sound/scsp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/scsp.cpp b/src/devices/sound/scsp.cpp
index d9d9d17d775..3918d20a7b0 100644
--- a/src/devices/sound/scsp.cpp
+++ b/src/devices/sound/scsp.cpp
@@ -1582,7 +1582,7 @@ void scsp_device::LFO_Init()
{
m_PSCALES[s][i+128] = CENTS(((limit * (float) i) / 128.0f));
}
- limit -= ASCALE[s];
+ limit = -ASCALE[s];
for (int i = 0; i < 256; ++i)
{
m_ASCALES[s][i] = DB(((limit * (float) i) / 256.0f));