zerofill test (nw)

This commit is contained in:
hap 2019-11-27 19:57:14 +01:00
parent fe48091d60
commit 7fbde6a2f9

View File

@ -90,16 +90,12 @@ private:
DECLARE_READ8_MEMBER(input_r);
DECLARE_WRITE8_MEMBER(control_w);
u8 m_inp_mux;
u8 m_7seg_data;
u8 m_inp_mux = 0;
u8 m_7seg_data = 0;
};
void bcc_state::machine_start()
{
// zerofill
m_inp_mux = 0;
m_7seg_data = 0;
// register for savestates
save_item(NAME(m_inp_mux));
save_item(NAME(m_7seg_data));