mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 09:35:15 +00:00
PS2MouseDevice: Try to synchronize the data reporting stream.
Turns out this was the reason QEMU wouldn't boot us.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user