summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/c6280.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/c6280.cpp')
-rw-r--r--src/devices/sound/c6280.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/c6280.cpp b/src/devices/sound/c6280.cpp
index 1b6666455c9..644269e01f7 100644
--- a/src/devices/sound/c6280.cpp
+++ b/src/devices/sound/c6280.cpp
@@ -68,8 +68,8 @@ void c6280_device::sound_stream_update(sound_stream &stream, std::vector<read_st
int vlr = (0xf - rmal) + (0xf - al) + (0xf - ral);
if (vlr > 0xf) vlr = 0xf;
- vll = m_volume_table[(vll << 1) | (chan->control & 1)];
- vlr = m_volume_table[(vlr << 1) | (chan->control & 1)];
+ vll = m_volume_table[(vll << 1) | (~chan->control & 1)];
+ vlr = m_volume_table[(vlr << 1) | (~chan->control & 1)];
/* Check channel mode */
if ((ch >= 4) && (chan->noise_control & 0x80))