Fixed PS/2 keyboard usage.

This commit is contained in:
Volker Ruppert 2020-12-13 16:30:42 +00:00
parent 520ca1459e
commit 8dc51f2cb7

View File

@ -1197,7 +1197,7 @@ void bx_devices_c::gen_scancode(Bit32u key)
ret = bx_keyboard[1].gen_scancode(bx_keyboard[1].dev, key);
}
if ((ret == 0) && (bx_keyboard[0].dev != NULL)) {
bx_keyboard[0].gen_scancode(bx_keyboard[1].dev, key);
bx_keyboard[0].gen_scancode(bx_keyboard[0].dev, key);
}
}