mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
esqpanel.cpp: initialization (nw)
This commit is contained in:
parent
0515b5fc16
commit
7dcc9a29c5
@ -415,6 +415,7 @@ esqpanel_device::esqpanel_device(const machine_config &mconfig, device_type type
|
|||||||
m_write_tx(*this),
|
m_write_tx(*this),
|
||||||
m_write_analog(*this)
|
m_write_analog(*this)
|
||||||
{
|
{
|
||||||
|
std::fill(std::begin(m_xmitring), std::end(m_xmitring), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,23 +57,23 @@ protected:
|
|||||||
|
|
||||||
std::vector<uint8_t> m_light_states;
|
std::vector<uint8_t> m_light_states;
|
||||||
|
|
||||||
bool m_eps_mode;
|
bool m_eps_mode = 0;
|
||||||
|
|
||||||
esqpanel::external_panel_server *m_external_panel_server;
|
esqpanel::external_panel_server *m_external_panel_server;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const int XMIT_RING_SIZE = 16;
|
static const int XMIT_RING_SIZE = 16;
|
||||||
|
|
||||||
bool m_bCalibSecondByte;
|
bool m_bCalibSecondByte = 0;
|
||||||
bool m_bButtonLightSecondByte;
|
bool m_bButtonLightSecondByte = 0;
|
||||||
|
|
||||||
devcb_write_line m_write_tx;
|
devcb_write_line m_write_tx;
|
||||||
devcb_write16 m_write_analog;
|
devcb_write16 m_write_analog;
|
||||||
uint8_t m_xmitring[XMIT_RING_SIZE];
|
uint8_t m_xmitring[XMIT_RING_SIZE];
|
||||||
int m_xmit_read, m_xmit_write;
|
int m_xmit_read, m_xmit_write = 0;
|
||||||
bool m_tx_busy;
|
bool m_tx_busy = 0;
|
||||||
|
|
||||||
emu_timer *m_external_timer;
|
emu_timer *m_external_timer = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
class esqpanel1x22_device : public esqpanel_device {
|
class esqpanel1x22_device : public esqpanel_device {
|
||||||
|
Loading…
Reference in New Issue
Block a user