> 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:50:27 up 7 days, 20:50,  1 user,  load average: 0.61, 0.48, 0.34
This commit is contained in:
tracer-ics2023
2024-09-25 20:50:27 +08:00
committed by zzy
parent d7e2455892
commit ab907ab2ce

View File

@ -29,7 +29,7 @@ int SDL_WaitEvent(SDL_Event *event) {
for (int i = 0; i < sizeof(keyname) / sizeof(keyname[0]); i ++ ) {
if (strcmp(buf + 3, keyname[i]) == 0) {
event->key.keysym.sym = i;
break;
return 1;
}
}
}