mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
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:
parent
cf1fa442dd
commit
29433bd988
@ -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) :
|
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),
|
device_t(mconfig, type, tag, owner, clock),
|
||||||
m_cursor_timer(nullptr),
|
|
||||||
m_int_write_func(*this),
|
m_int_write_func(*this),
|
||||||
|
m_cursor_timer(nullptr),
|
||||||
m_vram(*this, "^vram")
|
m_vram(*this, "^vram")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,6 @@ public:
|
|||||||
|
|
||||||
bool plane_enabled();
|
bool plane_enabled();
|
||||||
|
|
||||||
devcb_write_line m_int_write_func;
|
|
||||||
protected:
|
protected:
|
||||||
topcat_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
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();
|
void update_int();
|
||||||
|
|
||||||
|
devcb_write_line m_int_write_func;
|
||||||
|
|
||||||
uint16_t m_vblank;
|
uint16_t m_vblank;
|
||||||
uint8_t m_wmove_active;
|
uint8_t m_wmove_active;
|
||||||
uint16_t m_vert_retrace_intrq;
|
uint16_t m_vert_retrace_intrq;
|
||||||
|
Loading…
Reference in New Issue
Block a user