topcat: Fix clang build [-Werror,-Wreorder] (nw)

- Privatize m_int_write_func (was there any reason for this to be public?)
This commit is contained in:
AJR 2018-08-31 17:11:22 -04:00
parent cf1fa442dd
commit 29433bd988
2 changed files with 4 additions and 2 deletions

View File

@ -11,8 +11,8 @@ DEFINE_DEVICE_TYPE(TOPCAT, topcat_device, "topcat", "HP Topcat ASIC")
topcat_device::topcat_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, type, tag, owner, clock),
m_cursor_timer(nullptr),
m_int_write_func(*this),
m_cursor_timer(nullptr),
m_vram(*this, "^vram")
{
}

View File

@ -41,7 +41,6 @@ public:
bool plane_enabled();
devcb_write_line m_int_write_func;
protected:
topcat_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
@ -123,6 +122,9 @@ private:
}
void update_int();
devcb_write_line m_int_write_func;
uint16_t m_vblank;
uint8_t m_wmove_active;
uint16_t m_vert_retrace_intrq;