iwm: Reset the data latch on wp access

This commit is contained in:
Olivier Galibert 2023-01-15 21:43:16 +01:00
parent 1843d71183
commit c763d714c7

View File

@ -238,6 +238,9 @@ u8 iwm_device::control(int offset, u8 data)
m_devsel_cb(devsel);
}
if((m_control & 0xc0) == 0x40 && m_active == MODE_ACTIVE && m_rw == MODE_READ)
m_rsh = 0;
if(0) {
u8 s = m_control & 0xc0;
const char *slot = "?";