mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
zerofill test (nw)
This commit is contained in:
parent
fe48091d60
commit
7fbde6a2f9
@ -90,16 +90,12 @@ private:
|
|||||||
DECLARE_READ8_MEMBER(input_r);
|
DECLARE_READ8_MEMBER(input_r);
|
||||||
DECLARE_WRITE8_MEMBER(control_w);
|
DECLARE_WRITE8_MEMBER(control_w);
|
||||||
|
|
||||||
u8 m_inp_mux;
|
u8 m_inp_mux = 0;
|
||||||
u8 m_7seg_data;
|
u8 m_7seg_data = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
void bcc_state::machine_start()
|
void bcc_state::machine_start()
|
||||||
{
|
{
|
||||||
// zerofill
|
|
||||||
m_inp_mux = 0;
|
|
||||||
m_7seg_data = 0;
|
|
||||||
|
|
||||||
// register for savestates
|
// register for savestates
|
||||||
save_item(NAME(m_inp_mux));
|
save_item(NAME(m_inp_mux));
|
||||||
save_item(NAME(m_7seg_data));
|
save_item(NAME(m_7seg_data));
|
||||||
|
Loading…
Reference in New Issue
Block a user