couple more things for MSVC (nw)

This commit is contained in:
Vas Crabb 2017-05-15 11:23:37 +10:00
parent a46365d250
commit e7b8a8f98e
4 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@
#define CDP1864_CYCLES_DMA_ACTIVE 8*8
#define CDP1864_CYCLES_DMA_WAIT 6*8
constexpr int cdp1864_device::bckgnd[];
constexpr int cdp1864_device::bckgnd[4];

View File

@ -161,7 +161,7 @@ private:
void initialize_palette();
static constexpr int bckgnd[] = { 2, 0, 4, 1 };
static constexpr int bckgnd[4] = { 2, 0, 4, 1 };
devcb_read_line m_read_inlace;
devcb_read_line m_read_rdata;

View File

@ -25,7 +25,7 @@ DEFINE_DEVICE_TYPE(DM9368, dm9368_device, "dm9368", "Fairchild DM9368 7-Segment
// MACROS / CONSTANTS
//**************************************************************************
constexpr uint8_t dm9368_device::m_segment_data[16] =
const uint8_t dm9368_device::s_segment_data[16] =
{
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x67, 0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71
};
@ -83,9 +83,9 @@ void dm9368_device::a_w(uint8_t data)
}
else
{
LOG("DM9368 Output Data: %u = %02x\n", a, m_segment_data[a]);
LOG("DM9368 Output Data: %u = %02x\n", a, s_segment_data[a]);
value = m_segment_data[a];
value = s_segment_data[a];
m_rbo = 1;
}

View File

@ -62,7 +62,7 @@ private:
int m_rbi;
int m_rbo;
static const uint8_t m_segment_data[];
static const uint8_t s_segment_data[16];
};