summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-09-04 21:06:10 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-09-04 21:06:10 -0400
commit4ef10aa07f83da3d781223f7a4fa1be6b5cf7c0f (patch)
treebba7daa1e258ddfda86f53dbe765dc1f592bdc70
parent813433cfba6ba3a05f9221a817abe98110b23e74 (diff)
Fix clang build since C++14 is a bit stupid about instantiating constexpr variables (nw)
-rw-r--r--src/mame/includes/midzeus.h3
1 files changed, 2 insertions, 1 deletions
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