PS2MouseDevice: Try to synchronize the data reporting stream.

Turns out this was the reason QEMU wouldn't boot us.
This commit is contained in:
Andreas Kling 2019-01-17 02:13:21 +01:00
parent b5c76d7559
commit dc20f00872
Notes: sideshowbarker 2024-07-19 16:01:05 +09:00

View file

@ -28,7 +28,10 @@ void PS2MouseDevice::handle_irq()
m_data[m_data_state] = data;
switch (m_data_state) {
case 0:
ASSERT(data & 0x08);
if (!(data & 0x08)) {
dbgprintf("PS2Mouse: Stream out of sync.\n");
break;
}
++m_data_state;
break;
case 1: