improve frame timings some more in both runtimes

This commit is contained in:
2022-05-05 09:53:36 +02:00
parent 3f67e92c5c
commit 7cea4eebd3
5 changed files with 38 additions and 5 deletions

View File

@@ -318,7 +318,7 @@ export default function MicroW8(screen, config = {}) {
if (restart) {
runModule(currentData);
} else {
window.setTimeout(mainloop, Math.round(nextFrame - now))
window.setTimeout(mainloop, nextFrame - now)
}
} catch (err) {
config.setMessage(cartridgeSize, err.toString());