summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-03-30 17:27:59 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-03-30 17:27:59 -0400
commit73c1c3400f60164740feadc39cf987a5ac53a9e7 (patch)
treee1923ae34e4bd9f0a6d1ea39fdc4569c95e16649
parent752c4fb8db08c93b4868a615d5f1b205f1437e40 (diff)
vgm_visualizer.cpp: C++14's non-inline constexpr variables are problematic, part 2020 (nw)
-rw-r--r--src/devices/sound/vgm_visualizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/sound/vgm_visualizer.cpp b/src/devices/sound/vgm_visualizer.cpp
index a44a9f3bcf6..cc8041f6d36 100644
--- a/src/devices/sound/vgm_visualizer.cpp
+++ b/src/devices/sound/vgm_visualizer.cpp
@@ -17,6 +17,8 @@
#include <cmath>
+constexpr int vgmviz_device::SCREEN_HEIGHT;
+
constexpr float lerp(float a, float b, float f)
{
return (b - a) * f + a;