clear display before emulation start
This commit is contained in:
parent
b8e3509086
commit
517628ced6
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,9 @@ where
|
||||||
let _ = tx.send(some_key);
|
let _ = tx.send(some_key);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// clear display
|
||||||
|
self.display.clear();
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let now = Instant::now();
|
let now = Instant::now();
|
||||||
let elapsed_time = now.duration_since(tick_timer);
|
let elapsed_time = now.duration_since(tick_timer);
|
||||||
|
|
Loading…
Reference in a new issue