improve frame timings some more in both runtimes

This commit is contained in:
dranke committed 2022-05-05 09:53:36 +02:00
1 parent 3f67e92c5c
commit 7cea4eebd3
5 files changed
+38 -5

No files matched your search

+1 -1
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());