mirror of
https://github.com/holub/mame
synced 2025-05-28 08:33:05 +03:00
pockstat.cpp: Workaround for build error caused by C++14's failure to inline constexpr variables (nw)
This commit is contained in:
parent
85228e6f91
commit
2c298ab197
@ -89,7 +89,6 @@ private:
|
||||
memory_region *m_cart_rom;
|
||||
|
||||
static constexpr uint32_t TIMER_COUNT = 3;
|
||||
static constexpr uint32_t DEFAULT_CLOCK = 2000000;
|
||||
|
||||
enum : uint32_t
|
||||
{
|
||||
@ -983,6 +982,8 @@ DEVICE_IMAGE_LOAD_MEMBER(pockstat_state::flash_load)
|
||||
|
||||
void pockstat_state::pockstat(machine_config &config)
|
||||
{
|
||||
static constexpr uint32_t DEFAULT_CLOCK = 2000000;
|
||||
|
||||
/* basic machine hardware */
|
||||
ARM7(config, m_maincpu, DEFAULT_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &pockstat_state::mem_map);
|
||||
|
Loading…
Reference in New Issue
Block a user