mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
Fix clang build since C++14 is a bit stupid about instantiating constexpr variables (nw)
This commit is contained in:
parent
813433cfba
commit
4ef10aa07f
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#define MIDZEUS_VIDEO_CLOCK XTAL(66'666'700)
|
||||||
|
|
||||||
#include "machine/timekpr.h"
|
#include "machine/timekpr.h"
|
||||||
#include "emupal.h"
|
#include "emupal.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
@ -38,7 +40,6 @@ public:
|
|||||||
{ }
|
{ }
|
||||||
|
|
||||||
//static constexpr XTAL CPU_CLOCK = XTAL(60'000'000);
|
//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_DY = 3;
|
||||||
static constexpr int BEAM_DX = 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
|
static constexpr int BEAM_XOFFS = 40; // table in the code indicates an offset of 20 with a beam height of 7
|
||||||
|
Loading…
Reference in New Issue
Block a user