> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 20:14:34 up 2 days, 10:28,  1 user,  load average: 0.60, 0.38, 0.31
This commit is contained in:
tracer-ics2023
2024-09-14 20:14:35 +08:00
committed by zzy
parent 01cb6f0470
commit a93311d699

View File

@ -5,5 +5,5 @@
void __am_input_keybrd(AM_INPUT_KEYBRD_T *kbd) {
kbd->keycode = inl(KBD_ADDR); // AM_KEY_NONE;
kbd->keydown = kbd->keycode == AM_KEY_NONE ? false : true;
kbd->keydown = (kbd->keycode == AM_KEY_NONE) ? false : true;
}