mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
i2cmem.cpp: Initialize m_bits
This commit is contained in:
parent
67d00ac7a4
commit
9223ea0e24
@ -108,6 +108,7 @@ i2cmem_device::i2cmem_device(
|
||||
m_wc(0),
|
||||
m_sdar(1),
|
||||
m_state(STATE_IDLE),
|
||||
m_bits(0),
|
||||
m_shift(0),
|
||||
m_devsel(0),
|
||||
m_addresshigh(0),
|
||||
@ -332,7 +333,7 @@ WRITE_LINE_MEMBER( i2cmem_device::write_sda )
|
||||
}
|
||||
else
|
||||
{
|
||||
verboselog( this, 2, "start\n" );
|
||||
verboselog( this, 1, "start\n" );
|
||||
m_state = STATE_DEVSEL;
|
||||
m_bits = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user