> 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
 21:02:32 up 7 days, 21:03,  1 user,  load average: 0.92, 0.86, 0.58
This commit is contained in:
tracer-ics2023
2024-09-25 21:02:32 +08:00
committed by zzy
parent 377bbfa4fa
commit a48a1771f9

View File

@ -22,6 +22,7 @@ int SDL_WaitEvent(SDL_Event *event) {
while (NDL_PollEvent(buf, sizeof(buf)) == 0);
printf("SDL_WaitEvent Recv %s", buf);
if (buf[0] == 'k') {
printf("SDL_WaitEvent Got k\n");
if (buf[1] == 'd') {
event->type = SDL_KEYDOWN;
} else if (buf[1] == 'u') {