> 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
 23:08:12 up 2 days, 13:22,  1 user,  load average: 0.46, 0.58, 0.46
This commit is contained in:
tracer-ics2023
2024-09-14 23:08:13 +08:00
committed by zzy
parent 921237efc2
commit 32c59b038e

View File

@ -34,7 +34,7 @@ void __am_gpu_fbdraw(AM_GPU_FBDRAW_T *ctl) {
outl(FB_ADDR + w * j + i, (uint32_t)ctl->pixels + w * j + i);
}
}
if (ctl->sync) {
if (ctl->sync && inl(SYNC_ADDR) == 0) {
outl(SYNC_ADDR, 1);
}
}