summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/disc_flt.hxx
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-11-15 03:53:47 +1100
committer Vas Crabb <vas@vastheman.com>2020-11-15 03:53:47 +1100
commit55b8ca317ab1f77850f498c1523355e1f5dd8d03 (patch)
treebada7948236b18684609f47024cc9ca227a5ef89 /src/devices/sound/disc_flt.hxx
parent4db7f0439c3b841eb07d2320e39be38269e6cd56 (diff)
-Switch to building MAME as C++17.
* Updated sol2 to 3.2.2 * Updated pugixml to 1.10 * Increased minimum clang version to 6 * Cleaned up some stuff that can use new features
Diffstat (limited to 'src/devices/sound/disc_flt.hxx')
-rw-r--r--src/devices/sound/disc_flt.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/sound/disc_flt.hxx b/src/devices/sound/disc_flt.hxx
index 66b28bdeac4..32669a6cdc4 100644
--- a/src/devices/sound/disc_flt.hxx
+++ b/src/devices/sound/disc_flt.hxx
@@ -469,6 +469,7 @@ DISCRETE_RESET(dst_op_amp_filt)
m_rTotal = info->r1;
else
m_rTotal = RES_2_PARALLEL(info->r1, info->r2);
+ [[fallthrough]];
case DISC_OP_AMP_FILTER_IS_BAND_PASS_1M:
{
double fc = 1.0 / (2 * M_PI * sqrt(m_rTotal * info->rF * info->c1 * info->c2));