[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:
parent
0c1f038ad0
commit
3c50c2eae3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ static void text(int y, int i, int d, const char *s) {
|
||||||
static void add_disk(int i, int d) {
|
static void add_disk(int i, int d) {
|
||||||
t[i]->x[t[i]->n++] = d;
|
t[i]->x[t[i]->n++] = d;
|
||||||
text(t[i]->n, i, d, "==");
|
text(t[i]->n, i, d, "==");
|
||||||
|
screen_refresh();
|
||||||
usleep(100000);
|
usleep(100000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue