diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2018-12-02 12:09:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-02 12:09:04 -0500 |
commit | 8c6ed0e06b964bcef732a654bbc9bb5cbf16e945 (patch) | |
tree | 78325ae02661e97e88ff4d181f9c1c337b8de73c | |
parent | 26da0fedf25aa67e84ae279c106fd2df7318f93d (diff) | |
parent | acdfaa28cef3b8a700eb305081cb50a54f78c5dd (diff) |
Merge pull request #4366 from Klezstyle/patch-1
sound/scsp.cpp - Fix compilation on OSX Clang
-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 01d214fca53..6ba559ffc6a 100644 --- a/src/devices/sound/scsp.cpp +++ b/src/devices/sound/scsp.cpp @@ -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; @@ -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)); |