Skip to content
Snippets Groups Projects
Verified Commit bb899df7 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

docs: new comments

parent 63b3aa4f
No related branches found
No related tags found
1 merge request!4Support for WASM 🤖
Pipeline #640 passed
......@@ -61,7 +61,8 @@ const state = {
// visual information comming in
updateCanvas(state.chip8.vram_ws());
// @todo hack
// waits a little bit for the next frame to be draw
// @todo need to define target time for draw
await new Promise((resolve, reject) => {
setTimeout(resolve, 1000 / VISUAL_HZ);
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment