diff options
| author | 2025-10-30 19:45:44 +0100 | |
|---|---|---|
| committer | 2025-10-30 19:45:51 +0100 | |
| commit | bcd1fd6c9615c93b5d7579f6ac0376b1def51d6d (patch) | |
| tree | b323e5397fb9784657795cd851a8685d0a4ffd0a | |
| parent | 426eafd4ab624efb2539b4f4b8c6865ecac72974 (diff) | |
sound/gt155.cpp, machine/gt913_snd.cpp: fix obvious left channel clamp typo
| -rw-r--r-- | src/devices/machine/gt913_snd.cpp | 2 | ||||
| -rw-r--r-- | src/devices/sound/gt155.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/gt913_snd.cpp b/src/devices/machine/gt913_snd.cpp index 1965b798432..96a31b6eba0 100644 --- a/src/devices/machine/gt913_snd.cpp +++ b/src/devices/machine/gt913_snd.cpp @@ -115,7 +115,7 @@ void gt913_sound_device::sound_stream_update(sound_stream& stream) mix_sample(voice, left, right); } - stream.put_int_clamp(0, i, (left * m_gain) >> 27, 32678); + stream.put_int_clamp(0, i, (left * m_gain) >> 27, 32768); stream.put_int_clamp(1, i, (right * m_gain) >> 27, 32768); } } diff --git a/src/devices/sound/gt155.cpp b/src/devices/sound/gt155.cpp index bdd71a074c5..371c96da4ce 100644 --- a/src/devices/sound/gt155.cpp +++ b/src/devices/sound/gt155.cpp @@ -108,7 +108,7 @@ void gt155_device::sound_stream_update(sound_stream& stream) } } - stream.put_int_clamp(0, i, left >> 11, 32678); + stream.put_int_clamp(0, i, left >> 11, 32768); stream.put_int_clamp(1, i, right >> 11, 32768); } } |
