[FIX] am-kernels/kernels/demo/src/hanoi/hanoi.c: pattern not shown on the screen of nemu due to no sync of GPU FB

This commit is contained in:
Wenrui Huang 2023-10-11 16:39:44 +08:00 committed by GitHub
parent 0c1f038ad0
commit 3c50c2eae3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ static void text(int y, int i, int d, const char *s) {
static void add_disk(int i, int d) {
t[i]->x[t[i]->n++] = d;
text(t[i]->n, i, d, "==");
screen_refresh();
usleep(100000);
}