Closed macabeus closed 3 years ago
requestAnimationFrame doesn't work well for emulators since it could be faster than 60 FPS on some computers. Then this PR replaces it to setTimeout such as gbajs originally was using.
requestAnimationFrame
setTimeout
https://github.com/city41/smaghetti/issues/25#issuecomment-847305380
requestAnimationFrame
doesn't work well for emulators since it could be faster than 60 FPS on some computers. Then this PR replaces it tosetTimeout
such as gbajs originally was using.https://github.com/city41/smaghetti/issues/25#issuecomment-847305380