summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2019-11-01 20:45:47 -0400
committer arbee <rb6502@users.noreply.github.com>2019-11-01 20:45:47 -0400
commita327fb1aa8ed982f2565b70574aba448b857507f (patch)
tree4eacb610427d22ea747c5c775c84742f0875b270
parent9a5ee30fe8c12c8a0b4fff3459d2d43828e69519 (diff)
fix Clang compile (nw)
-rw-r--r--src/devices/sound/es5506.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/es5506.cpp b/src/devices/sound/es5506.cpp
index cafd108e029..351400dd116 100644
--- a/src/devices/sound/es5506.cpp
+++ b/src/devices/sound/es5506.cpp
@@ -493,8 +493,8 @@ void es550x_device::compute_tables(u32 total_volume_bit, u32 exponent_bit, u32 m
{
m_voice[j].index = j;
m_voice[j].control = CONTROL_STOPMASK;
- m_voice[j].lvol = (1 << total_volume_bit - 1);
- m_voice[j].rvol = (1 << total_volume_bit - 1);
+ m_voice[j].lvol = (1 << (total_volume_bit - 1));
+ m_voice[j].rvol = (1 << (total_volume_bit - 1));
m_voice[j].exbank = 0;
}
}