diff options
| author | 2025-06-14 11:34:05 -0400 | |
|---|---|---|
| committer | 2025-06-14 11:36:05 -0400 | |
| commit | 82c32ee2920ae0092ac5985cf0247d1f5c8dc7dc (patch) | |
| tree | e9b0bf679e44544ee566fbd739488f445b9ce3c5 /src/devices/machine/i2cmem.cpp | |
| parent | 85c34779feac6b95f8413d49b253ae40a30cc442 (diff) | |
anpncpc: Hook up I2C EEPROM; prevent sound CPU from running off the rails
* machine/i2cmem.cpp: Don't enter start condition except from idle state
Diffstat (limited to 'src/devices/machine/i2cmem.cpp')
| -rw-r--r-- | src/devices/machine/i2cmem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/i2cmem.cpp b/src/devices/machine/i2cmem.cpp index 1197eb00c0c..05abc74f383 100644 --- a/src/devices/machine/i2cmem.cpp +++ b/src/devices/machine/i2cmem.cpp @@ -346,7 +346,7 @@ void i2cmem_device::write_sda(int state) verboselog( this, 1, "stop\n" ); m_state = STATE_IDLE; } - else + else if( m_state == STATE_IDLE ) { verboselog( this, 1, "start\n" ); m_state = STATE_DEVSEL; |
