boot: fix stray bits in scancodes in bochs
This commit is contained in:
parent
6d2d6edffc
commit
2af556d9da
@ -182,6 +182,6 @@ int read_scancode(int timeout) {
|
||||
}
|
||||
}
|
||||
int result = do_bios_call(4,0);
|
||||
return result >> 8;
|
||||
return (result >> 8) & 0xFF;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user