diff options
Diffstat (limited to 'src/emu/video/resnet.h')
-rw-r--r-- | src/emu/video/resnet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/resnet.h b/src/emu/video/resnet.h index acc62bece79..638f9909255 100644 --- a/src/emu/video/resnet.h +++ b/src/emu/video/resnet.h @@ -161,7 +161,7 @@ void compute_res_net_all(std::vector<rgb_t> &rgb, const u8 *prom, const res_net_ /* legacy interface */ -namespace emu { namespace detail { +namespace emu::detail { template <std::size_t I, typename T, std::size_t N, typename U> constexpr auto combine_weights(T const (&tab)[N], U w) { return tab[I] * w; } @@ -169,7 +169,7 @@ constexpr auto combine_weights(T const (&tab)[N], U w) { return tab[I] * w; } template <std::size_t I, typename T, std::size_t N, typename U, typename... V> constexpr auto combine_weights(T const (&tab)[N], U w0, V... w) { return (tab[I] * w0) + combine_weights<I + 1>(tab, w...); } -} } // namespace emu::detail +} // namespace emu::detail double compute_resistor_weights( int minval, int maxval, double scaler, |