From 4ef10aa07f83da3d781223f7a4fa1be6b5cf7c0f Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 4 Sep 2018 21:06:10 -0400 Subject: [PATCH] Fix clang build since C++14 is a bit stupid about instantiating constexpr variables (nw) --- src/mame/includes/midzeus.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mame/includes/midzeus.h b/src/mame/includes/midzeus.h index d40c7cf2d0d..c94f86fea88 100644 --- a/src/mame/includes/midzeus.h +++ b/src/mame/includes/midzeus.h @@ -6,6 +6,8 @@ **************************************************************************/ +#define MIDZEUS_VIDEO_CLOCK XTAL(66'666'700) + #include "machine/timekpr.h" #include "emupal.h" #include "screen.h" @@ -38,7 +40,6 @@ public: { } //static constexpr XTAL CPU_CLOCK = XTAL(60'000'000); - static constexpr XTAL MIDZEUS_VIDEO_CLOCK = XTAL(66'666'700); static constexpr int BEAM_DY = 3; static constexpr int BEAM_DX = 3; static constexpr int BEAM_XOFFS = 40; // table in the code indicates an offset of 20 with a beam height of 7